Reposted
Google · Phone screen
RejectedGoogle 2026 New Grad R1 Rejection: Mode of a Ternary Search Tree
Software engineer · New GradMaster's degreeDec 2025
Shared by
Role: Software Engineer, New Grad
Result: Rejected after R1
Report time: December 2025
Coding: mode of a ternary search tree
The tree follows these ordering rules:
left.value < node.valuemiddle.value == node.valueright.value > node.value
Return the mode: the value that appears most frequently in the tree.
The candidate and interviewer discussed edge cases, and the candidate believed the implementation already covered them.
Practice: Mode of a Ternary Search Tree
Follow-up: broken tree
The interviewer asked about a “broken tree,” but the source does not define which invariant is violated, how that input is represented, or what output is required. Comments asked whether a HashMap was needed and whether the task could be solved without one, but the candidate did not provide further clarification.
0 total reactions. Your reactions: none.
0 comments
Comments
0No comments yet — be the first to share what you know.