Jio interview question

Flatten the Array and similar leet code problems.