Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(First, see Part A: https://www.chegg.com/homework-help/questions-and-answers/gi

ID: 3667961 • Letter: #

Question

(First, see Part A: https://www.chegg.com/homework-help/questions-and-answers/given-n-metal-balls-b1-bn-different-weight-compare-weights-2-balls-weighing-balance-findin-q10564115

and Part B: https://www.chegg.com/homework-help/questions-and-answers/first-see-part-https-wwwcheggcom-homework-help-questions-answers-given-n-metal-balls-b1-bn-q10564149

and Part C: https://www.chegg.com/homework-help/questions-and-answers/first-see-part-https-wwwcheggcom-homework-help-questions-answers-given-n-metal-balls-b1-bn-q10564187)

part (A)

Explanation / Answer

To solve part C, what we will do is compare the smaller one in the final weighing ( to determine heaviest ball ) and then compare it to all the ones the heavier ones were compared to, which takes additional log n time. If it greater than all of them, then it is the second most heaviest ball.