mPokket interview question

reverse an array and even few more easy dsa