News for hackers. Stuff that matters.
Re:Understanding Recursion as an Absolute Beginner by physicles on Thursday September 05, 2019 @11:58PM (#20892937)
True. But then you need to first teach the student about pointers/references, linked lists, and then binary trees. The point of this article was to explain recursion to an absolute beginner.
Re:Understanding Recursion as an Absolute Beginner by alejohausner on Friday September 06, 2019 @11:16AM (#20896387)
True, you need pointers to implement binary trees. But you just need chalk to draw one, and to explain a recursive algorithm that acts on it.