Materials and solutions of the course https://www.coursera.org/learn/algorithms-part1/home/welcome https://www.coursera.org/learn/algorithms-part2 https://algs4.cs.princeton.edu/home/ - book on line and attached
Book on Amazon $53: https://www.amazon.com/Algorithms-Algorithms-4-Robert-Sedgewick-ebook-dp-B004P8J1NA/dp/B004P8J1NA/ref=mt_other?_encoding=UTF8&me=&qid= But I got it free. Java, IntelliJ from http://lift.cs.princeton.edu/java/windows