3 ms·
Which is exactly the point, it's a leetcode question that tests whether you've memorised a bunch of leetcode interview questions
by siriusfeynman 4y ago
Which is exactly the point, it's a leetcode question that tests whether you've memorised a bunch of leetcode interview questions
- bruce343434 4y agoyou're supposed to be able to come up with the solution by yourself
- wiseowise 4y ago> classic backtracking problem Literally in the parent post.
- hnbad 4y ago> Backtracking is extremely important in today’s software interviews and almost always comes up in some form. From TFA. Even the article struggles to explain how this is useful outside similar leetcode questions. Yes, backtracking is sometimes a useful approach for some real-life programming problems but leetcode questions neither test for the ability to recognize backtracking problems nor the general ability to solve them.