Greedy Algorithms: Understanding the Concept and Implementing in Java

Greedy algorithms are a class of algorithms used in computer science to solve optimization problems. These algorithms work by making the locally optimal choice at each step with the hope of finding a global optimum solution. In other words, at each step, they choose the option that looks best at the moment, without considering the…

Read more...

Print Digit of Number In Words

Given a number N, Print digits of that number in words. eg, 100 should be written as One Zero Zero Solution [Using Recursion]

Read more...