by omegalulw · 4y ago · 0 comments
By "let's do i anyway" do you mean to implement it? That's a terrible strat. You should not be touching the keyboard until you have an optimized or at least final design. If coding up the naive algorithm gives you some "insight" that you don't expect to have seen by thinking through the problem beforehand, you need to invest more in logical thinking.
This applies to both interviews and to your normal work.
In real life, it’s going to take you longer to understand the problem enough to even attempt the naïve solution. So in the context of an interview, get ANYTHING working.