You are viewing a single comment's thread. Return to all comments →
**Java Solution **
Add This After bufferedReader.close();
// Reverse the list Collections.reverse(arr); // Print the reversed list for (int i = 0; i < n; i++) { System.out.print(arr.get(i) + " "); }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 7: Arrays
You are viewing a single comment's thread. Return to all comments →
**Java Solution **
Add This After bufferedReader.close();