this post was submitted on 19 Oct 2023
1108 points (100.0% liked)
196
16484 readers
1802 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
its
O(n^2)
, but better thanO(n)
for small values ofn