How would you explain recursion to a 6 years old?
Anonymous
Imagine that you are standing in some queue and you want to count the number of people standing before you, and you don't want to left the queue in order to count them because you will lose your turn, so the approach is to ask the one who stands before you about how many people stands before him and add one to the result, and he gonna do the same thing and ask the one who stand before him and so on until the first one (which is the base case )
Check out your Company Bowl for anonymous work chats.