How to reference sources when I only took the ideas?
You should make it clear in the text who invented the algorithms, and cite next to the names, usually. Write something like:


  The XYZ search algorithm [1], works by...
  
  Foo et al. [2] propose an algorithm which...