/algorithms-jvm

A java library of some algorithms.

Primary LanguageJavaMIT LicenseMIT

algorithms-jvm

A Java library of some algorithms.

Contents

  • BinarySearch class offers methods for general binary searching.
  • SequenceBuilder class is a builder class for creating "instance" of Iterable<T>.
  • SortableArray class is a wrapper class containing an array and a comparator, with some methods that relate to comparing array's elements.

TO-DO list

SortableArray

  • Add a method that counts the number of inversion pairs using merge sort.