Learn Kotlin for Android: Recursion (Lesson 13)
Channel: Indently
Date: 2020-07-22

You may be asking: "but why don't we just just use while/for loops to do the same thing".  Well, apparently this technique was used a lot in the older programming languages that did not have loop functions built in. So it's up to you whether you feel like using recursion or just using loops!    
  ​​​​