Question: I have an array like [2, [2,3] , [4,5,[5,6,7,8], [5,4,[7,4]]]] it can be like this, multiple sub arrays within an array. make this 1d but
I have an array like [2, [2,3] , [4,5,[5,6,7,8], [5,4,[7,4]]]] it can be like this, multiple sub arrays within an array. make this 1d but you cant use list comprehension or built-in functions. simple loops but don't use too many loops.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
