A greedy algorithm is any algorithm that follows the problem-solving heuristic of making the locally optimal choice at each stage. Many tech companies want people to solve coding challenges during interviews and many of the challenges can be solved using a greedy algorithm. Tanishq uses animations and diagrams to help you understand how the code works.

•1m read time•From freecodecamp.org
Post cover image
3 Comments

Sort: