3 ms·
This. The problem a programmer needs to solve isn’t remembering or applying the algorithm, it’s identifying what needs to be done. “This problem is (analogous
by alkonaut 7y ago
This. The problem a programmer needs to solve isn’t remembering or applying the algorithm, it’s identifying what needs to be done.
“This problem is (analogous to) loop detection”
“This problem requires a sorted list”
“This problem can be solved by depth first traversal”
Actually sorting a list or doing a traversal is easy after that crucial step. You can look it up. You can’t look up the step that told you what algorithm or data structure to use though.