Gin the worst case it would be 4 comparisons. in your example if the heaviest ball is either among ball 1,2,4 or 5 then it would take 4 comparisons to find that ballComment·Article·May 3, 2025·Why 100 lines of Code can be better than 2 lines of code...