Given a nested list of integers, return the sum of every integer multiplied by its depth. Integers in the outermost list have depth 1, integers inside one inner list have depth 2, and so on.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.