Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Written by Prashant Basnet
👋 Welcome to my Signature, a space between logic and curiosity.
I’m a Software Development Engineer who loves turning ideas into systems that work beautifully.
This space captures the process: the bugs, breakthroughs, and “aha” moments that keep me building.
Once upon a time, in a village of coders, there lived a gardener named Prashant. He had two ways of planting flowers in his garden Greedy and Non-Greedy.
1. The Non-Greedy Way
One day, Prashant wanted to count all the even-numbered flowers in his garden.
2. The Greedy Twist
Why was this greedy?
3. Another Greedy Trick
4. The Gas Station Puzzle
Moral of the Story
Greedy algorithms make quick, local decisions
— Prashant, the Algorithmic Gardener 🌸