DEV Community

Discussion on: ODD-EVEN Number using Recursion in JS 🚀

Collapse
 
dev_shubham profile image
Shubham Jadhav

Thanks for reading...
I was solving by using recursion above problem. That's why it's long solution.

Collapse
 
pierrewahlberg profile image
Pierre Vahlberg

If you want to make a new article, going down each sub array in an array (branches of a tree) would probably be a more useful scenario as well as more illustrative to the naivity of depth/iterarions 🤟