3 ms·
you learn math by doing lots of problems, the same is true for leetcode. sure there are patterns and tricks to it, but you have to do enough problems to apply t
by ikrenji 4y ago
you learn math by doing lots of problems, the same is true for leetcode. sure there are patterns and tricks to it, but you have to do enough problems to apply them "intuitively". it's one thing to know you need two pointers to solve a problem, but a different thing to actually code up the solution...