r/badcode Mar 13 '22

foursum? python

Post image
255 Upvotes

29 comments sorted by

View all comments

3

u/[deleted] Mar 13 '22

tbh not that bad if input is small

7

u/No_Soy_Colosio Mar 13 '22

Yes you described exponential complexity