News for hackers. Stuff that matters.
Re:Leetcode has taught me that I'm a bad engineer by pasabagi on Wednesday January 05, 2022 @06:43AM (#29807833)
Perhaps it's more attitude, then? What you said does sound interesting - I just never think like that when I'm solving puzzles. When I think puzzle, my mind goes to something like a rubics cube - an object where there's some trick that once you've learned, the object becomes 'solved'. That abrogates any need for creativity, since the solution is already preordained in the design of the puzzle itself, so I just get irritated and (usually) find some way to cheat it.
Re:Leetcode has taught me that I'm a bad engineer by josephg on Wednesday January 05, 2022 @01:17PM (#29812787)
Yeah; I never learned to solve rubicks cubes for exactly that reason - what’s the point of memorising a solved algorithm that only works on this one problem anyway?

But plenty of algorithmic ideas are broadly applicable and useful. Eg, b-trees, bloom filters and priority queues have some wild uses across a host of problems. Those tools strike my fancy.