You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tracking the largest value in the array on the first iteration of the bucket sort allows you to do one less loop and drops the need for a `done` variable.
also updated the bucket initialization to use the `(repeatingElement: count:)` initializer and switched to using an iterator for looping through the buckets instead of accessing them based on the range loop.
0 commit comments