r/javahelp • • 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

4 comments sorted by

View all comments

4

u/radulfr2 Apr 21 '20

The articles for various algorithms on Wikipedia often have pseudocode.

https://en.wikipedia.org/wiki/List_of_algorithms