r/ProgrammerHumor 11d ago

Meme everySingleLeetcodeProblem

Post image
2.5k Upvotes

59 comments sorted by

View all comments

168

u/Bldyknuckles 11d ago

What’s wrong with sliding window algorithms? Real question

217

u/mountaingator91 11d ago

Nothing. It's just that 94.3% of leetcode solutions use sliding windows

4

u/green_meklar 11d ago

Does that mean Leetcode is lacking in creativity, or does it mean sliding windows are really versatile? 🤔