Recursion is a very powerful technique, but when processing certain types of data structures you can end up with problems. And not the "compiler error" kind of problems, the bad semantic kind. Fortunately, at least one class of them is pretty easy to solve with visit tracking, thoug...
Last December,Brennadid a bunch ofAdvent of Code, and on a number of problems I played mentor while she worked through them. My central tenet was that the hard part of programming is the part you dobeforeyou put your fingers on the keyboard. It’s really tempting to read through the pr...
Last December,Brennadid a bunch ofAdvent of Code, and on a number of problems I played mentor while she worked through them. My central tenet was that the hard part of programming is the part you dobeforeyou put your fingers on the keyboard. It’s really tempting to read through the pr...
Recursion is a very powerful technique, but when processing certain types of data structures you can end up with problems. And not the "compiler error" kind of problems, the bad semantic kind. Fortunately, at least one class of them is pretty easy to solve with visit tracking, thoug...
Recursion is a very powerful technique, but when processing certain types of data structures you can end up with problems. And not the "compiler error" kind of problems, the bad semantic kind. Fortunately, at least one class of them is pretty easy to solve with visit tracking, thoug...