News for hackers. Stuff that matters.
Re:Ask HN: Do senior engineers have a mental model before co... by unhired on Friday August 30, 2019 @04:46PM (#20842546)
It wasn’t a LeetCode problem. I had to implement an API where each call would change the state of the application on certain conditions. I heard the problem and clarified it on the whiteboard. I coded each function while talking and ask for clarifications.
Re:Ask HN: Do senior engineers have a mental model before co... by ju-st on Friday August 30, 2019 @05:15PM (#20842782)
The problem sounds like they wanted you to implement a state machine, and to draw a state diagram before that.