|
|
|
|
|
by southphillyman
2303 days ago
|
|
In a world where you are expected to solve 2 leetcode medium-hard questions in 30 minutes with no syntax errors and test cases.... I doubt it. The questions come in different forms with optimizations, it's not about memorizing answers it's "pattern matching" and being efficient in implementation. A partition method would be part of a larger implementation you still have to reason through and talk through. You just remember that the quicksort of the top half starts at pivot+1 instead of pivot, etc. Essentially you eliminate the little mistakes people tend to make when they are nervous |
|