Hacker News new | ask | show | jobs
by giantg2 2024 days ago
"Maybe not perfectly optimally first try for all but who cares about that."

That's the purpose of LeetCode. If you're saying you can't solve all of them, what happens when you get one of the ones you don't know?

3 comments

Then you keep interviewing until you get the ones you know. There's luck involved with everything. Luck in the sense of the right time at the right place.
This is a very unserious reply. You have a bad habit of misconstruing my words into a straw man
Perhaps you're not using the correct words.
Sorry. Yeah, I probably misread wha you wrote or read some other comment. Anyway, to answer your earlier question, good interviews are a conversation and allow you to demonstrate your knowledge and problem solving abilities. It’s ok to start with a suboptimal solution to a problem and iterate. If you already know the perfect solution to one problem then a good interview will move on to another problem so it’s not that useful.
This is a very unserious reply.