3 ms·
I think #1 is a lot more complex than just basic clarifying questions. The key is to understand the context. Where is this code going to be running? Who is goin
by sriramk 17y ago
I think #1 is a lot more complex than just basic clarifying questions. The key is to understand the context. Where is this code going to be running? Who is going to call it? In what scenarios will it be called? Things like that.
I remember getting a question on reversing a linked list or something basic like that and being told that it was the innermost core loop of some spaceship's propulsion system. A lot different than some code which people rarely call where you could optimize differently. :)