Book Name: Algorithms in Java, 3rd Edition Author: Robert Sedgewick Publisher: Addison-Wesley Professional ISBN-10: 0201361205 Year: 2018 Pages: 768 Language:…