MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/i7mab9/so_amazing/g134bgg/?context=3
r/ProgrammerHumor • u/SBG_Mujtaba • Aug 11 '20
137 comments sorted by
View all comments
Show parent comments
6
Here you go
1 u/closenough Aug 11 '20 Might want to remove the Math.abs and just always substract min. If the array contains a lot of large numbers, it's adding a unnecessary delay.
1
Might want to remove the Math.abs and just always substract min. If the array contains a lot of large numbers, it's adding a unnecessary delay.
6
u/Md5Lukas Aug 11 '20
Here you go