Google · Phone screen
In processGoogle New Grad R1: Bookshelf Add, Move, and Delete Class
Role: Software Engineer, New Grad
Result: Advanced to R2
Interview date: December 17, 2025
Coding: bookshelf class
Design a bookshelf class that can add, move, and delete books.
The candidate first described a brute-force approach and expected to move on to a priority-queue design. Instead, the interviewer asked about JavaScript built-ins, and the candidate used splice to implement the operations and then checked edge cases.
The only reported follow-up supplied a simple test case and asked the candidate to explain what would happen.
The source does not define:
- How shelves or books are represented
- Whether operations use indexes or book IDs
- Exact move behavior
- Duplicate-book identity
- Invalid-operation handling
- The required final output or serialized state
Because those rules determine the class contract, no exact practice link is asserted.
The candidate found the task unexpectedly basic but reported smooth communication. They received the R2 invitation after three business days.
Comments
0No comments yet — be the first to share what you know.