Nested list weight sum

0
Remix

A nested list holds integers and other nested lists. Return the sum of every integer multiplied by its depth (integers in the outer list have depth 1).

MetaCodingLast asked Feb 2026
No answer yet. Write the first one; the best answer gets endorsed.