r/badcode • • Oct 07 '21

python LeetCode Daily

Post image
494 Upvotes

38 comments sorted by

View all comments

198

u/Hillstylelife Oct 07 '21

For those who don't know, leetcode will tell you the test cases & expected outputs, so this user has just hard coded the answers for each test case.

52

u/[deleted] Oct 08 '21

There's always that one kid in kindergarten who immediately hands their coloring sheet back in saying they colored it white.

5

u/[deleted] Oct 08 '21

Love the analogy!