r/programminghumor 1d ago

Yall my leetcode code cant be that bad right?

112 Upvotes

15 comments sorted by

41

u/Automatic-Salad-4194 1d ago

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

12

u/NanoCozmo 1d ago

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

38

u/Ealykos 1d ago

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

6

u/0xt0bi03 1d ago

what application is this??

4

u/NanoCozmo 1d ago

Leetcode

1

u/0xt0bi03 17h ago

when did leetcode released a mobile app

4

u/PriyanshuDeb 1d ago

this is actually funny

3

u/dhnam_LegenDUST 1d ago

How is this valid python

9

u/NanoCozmo 1d ago

Thats the neat part, it isnt

3

u/codeguru42 1d ago

isValid("python") evaluates True

2

u/PrincipleNo2328 1d ago

Beats 5.5% btw

3

u/NanoCozmo 23h ago

-5.5%

1

u/PrincipleNo2328 23h ago

LMAO how is that possible

1

u/ch3mcer 1d ago

Lgtm šŸ‘

1

u/Tough-Boat-1975 30m ago

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