▲ 2 r/leetcode
What is the best way to understand Greedy algorithms?
I'm currently studying DSA one concept at a time and there hasn't been a topic that's confusing me as much as Greedy. I know the basic approach of greedy, pick the optimal decision at the present, but it's soooo confusing especially problems like Jump Game or Gas Station.
Does anyone have any advice on how to tackle Greedy problems and how to recognize?
u/jsmooth71 — 10 hours ago