This is my java code for algorithms practice following the textbook of "Algorithms 4th ed" of Robert Sedgewick and Kevin Wayne.