Let me tell you about my first time going through an entire interview process and completing a take home exercise. This algorithm test involved setting up a server in the cloud that allowed users to pass in nested arrays. For example, we need to convert arrays like this:
[0, 1, [2, [3, 4]]] -> [0, 1, 2, 3, 4]
Today we'll go over the recursive solution and tackle this challenge. Enjoy.