u/SuperAd9432 wrote (the comment Michael replied to):
out of curiousity. and not saying i could even do this. lol. but. what is the view/stance on jumping straight to an optimal solution? assuming you clearly saw it, understood the problem, communicated properly and checked all the other boxes for a good interview. and, for some
u/michaelnovati replied · ★ FEATURED
I would walk through the exploration. You might say something like "I think I have a good instinct on where to go in this problem but let me walk through first".
And then do a typical:
1. confirm you understand
2. identify a few approaches (even though you know the one you want to go with)
3. then start coding
This is my company's approach that you could follow, but highly recommend following a structure problem solving method even if you know the solution: https://formation.dev/blog/the-engineering-method/