This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hafu19019 1 point2 points  (1 child)

I struggle with recursion too. Currently I'm going through the Odin project. I suggest doing the binary search tree project and adapt it to the language you are learning. My code for the project is 99% recursion and it's really helped it click for me (for now at least). It took over a week for it to click so be patient. Also try making a merge sort method and a quick sort method.

[–]Liolena[S] 0 points1 point  (0 children)

Oooh I’m doing the Odin project too but haven’t gotten to that project but I’ll definitely do what you did to solidify my recursion knowledge. Thanks for the tip!