We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
No. The result is correct.
Step #1 -- You select the 1st element (1) and increase others by 1, giving (1, 6, 6).
Step #2-- Select 2nd element, increase others by 5. (6, 6, 11).
Step #3-- Select 3rd element, increase others by 5. (11, 11, 11).
Equal
You are viewing a single comment's thread. Return to all comments →
No. The result is correct. Step #1 -- You select the 1st element (1) and increase others by 1, giving (1, 6, 6). Step #2-- Select 2nd element, increase others by 5. (6, 6, 11). Step #3-- Select 3rd element, increase others by 5. (11, 11, 11).
Thus, the ans is 3.