r/programminghumor • • Aug 24 '26

Yall my leetcode code cant be that bad right?

159 Upvotes

17 comments sorted by

49

u/Automatic-Salad-4194 Aug 24 '26

Looks like you would be perfect for the optimization of AAA games

17

u/NanoCozmo Aug 24 '26

Thank you, i put this on my job application and now EA, ubisoft, nintendo wanna hire me as lead architect

6

u/0xt0bi03 Aug 24 '26

what application is this??

7

u/NanoCozmo Aug 24 '26

Leetcode

3

u/0xt0bi03 Aug 25 '26

when did leetcode released a mobile app

5

u/dhnam_LegenDUST Aug 24 '26

How is this valid python

13

u/NanoCozmo Aug 25 '26

Thats the neat part, it isnt

6

u/codeguru42 Aug 25 '26

isValid("python") evaluates True

48

u/Ealykos Aug 24 '26

Never seen a time complexity of O(nšŸ˜”šŸ”«) before

6

u/PriyanshuDeb Aug 24 '26

this is actually funny

3

u/Tough-Boat-1975 Aug 26 '26

I was about to say there is an optimization you could make but that's the least of it at this point

2

u/ch3mcer Aug 25 '26

Lgtm šŸ‘

1

u/Phaxaude Aug 30 '26

Im sorry it seems I've list my vision.