News for hackers. Stuff that matters.
Re:An Algorithm for Passing Programming Interviews (2020) by netizen-936824 on Sunday January 02, 2022 @08:30PM (#29776258)
Why would you want to seem like you're struggling?
Re:An Algorithm for Passing Programming Interviews (2020) by kadoban on Sunday January 02, 2022 @08:42PM (#29776359)
The interviewers are ideally trying to get a sense of how you think through problems, not just that you can spit out an answer you know. At least that's what they say.
Re:An Algorithm for Passing Programming Interviews (2020) by netizen-936824 on Sunday January 02, 2022 @08:48PM (#29776398)
So does struggle equate to working through a problem? I don't think it does.
Re:An Algorithm for Passing Programming Interviews (2020) by taude on Sunday January 02, 2022 @10:28PM (#29777014)
It's not the struggle, it's the questions you ask, and what you share about your thought process trying to got to a solution. You might work yourself into a hole solving what you think is a simple array manipulation problem, but then realize some edge cases require you to switch to a heap/priority queue, etc.
Re:An Algorithm for Passing Programming Interviews (2020) by kadoban on Sunday January 02, 2022 @09:06PM (#29776512)
Not really, no.
Re:An Algorithm for Passing Programming Interviews (2020) by Lamad123 on Sunday January 02, 2022 @11:14PM (#29777264)
What if you happen to be an unlucky genius like J. von Neumann or something?
Re:An Algorithm for Passing Programming Interviews (2020) by kadoban on Sunday January 02, 2022 @11:32PM (#29777355)
You still should need to ask clarifying questions, because the specification of many problems is intentionally incomplete.

Beyond that though, you can just be honest and say you know a problem and they can either pick another or just talk about it anyway.