4 ms·
I once failed a leet code graph problem because I solved it with a genetic algorithm. The problem wasn’t that I was incapable of solving the problem, it was th
by newshorts 4y ago
I once failed a leet code graph problem because I solved it with a genetic algorithm.
The problem wasn’t that I was incapable of solving the problem, it was the narrow view of possible solutions. The interviewer was looking for the CS101 solution.
My biggest gripe with leetcode is they tend to filter diversity of thought.
- dekhn 4y agoYes, this is one of my big complaints- I've presented solutions as efficient as the interviewer's, but got dinged because it wasn't the one they were looking for.
- zshrdlu 4y agoHave you written about the problem and how you thought about it? Sounds fascinating - like something I'd like to read :D