VISHU interview question

Basic coding questions Reverse the array