Class InsertionSortCounter


  • public class InsertionSortCounter
    extends Object
    InsertionSort counter. Both List and Array versions are provided. For larger sizes (>100), array is faster
    • Constructor Detail

      • InsertionSortCounter

        public InsertionSortCounter()
    • Method Detail

      • insertionSortCounter

        public static int insertionSortCounter​(List<Integer> list)
      • insertionSortCounter

        public static int insertionSortCounter​(int[] array)