Nested Data Structure Transformation with Iterative Requirements | Hello Interview