You are viewing a single comment's thread. Return to all comments →
I have my code submitted above in the discussion area.
My way permanently makes it reverse. If the interviewer asked to reverse the array, then this solution would not work since it does not reverse it, but it prints it in reverse. If they just want it to print in reverse, then rajarshi356's works fine.