r/javahelp • u/faceless144p • Apr 21 '20
Basic algorithm
I'm actually reading Java Software Solutions - Foundation of Program Design from Lewis & Loftus for the school and on the polymorphism chapter it shows selection sort, insertion sort, linear search, binary search and comparing search.
I really liked those little part of code and explanation, and I was wondering if someone know a good website or a good book with pseudo-code of basics algorithm? If it is with code it is okay, but I think it will be more easier to learn with pseudo-code that I can translate in Java by my own and than use it for different situation... If it have both, pseudo-code and Java code it's even better!
Thank you very much in advance !
16
Upvotes
5
u/omtmk Apr 21 '20
Not pseudo code, but Sedgewick's website has his own Java implementation code for education.
https://algs4.cs.princeton.edu/home/