Binary Search
Easy · Onsite · New graduate
In the technical interview, they asked me to write binary search from scratch. It wasn't a trick question, but they wanted clean code and the correct loop condition. After I wrote it, they asked a few basic Java and collection framework questions around the same time. The round felt beginner-friendly, but they were checking if I actually understood the logic instead of memorizing it.
