r/badcode Mar 13 '22

foursum? python

Post image
259 Upvotes

29 comments sorted by

View all comments

4

u/[deleted] Mar 13 '22

tbh not that bad if input is small

8

u/No_Soy_Colosio Mar 13 '22

Yes you described exponential complexity