I've been running the same interview question for work, and the early indicator that the candidate isn't going to do well is they duplicate state / compute values earlier than they need to be computed. By the end of the interview, they're drowning in a web of complexity of their own making.
18 days ago