JAVA
Sorting in Java (Comparable)
How do we sort in Java? We can go the traditional way by implementing Bubble Sort or Merge Sort etc We can use Java APIs In this post, we will focus on Sorting using Java APIs Sort List of Integer Given an Integer List say [7, 4, 2, 9, 5, 2, 3] to sort We will use the Java Collection Framework to do this. Points to Note: List<Integer> => The Integer class wraps a value of Read more…