CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Which is the last step for the input below?

Input: 16 09 25 27 06 05


A

Step II

Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B

Step III

No worries! We‘ve got your back. Try BYJU‘S free classes today!
C

Step IV

No worries! We‘ve got your back. Try BYJU‘S free classes today!
D

None of these

No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A

Step II


Input: 16 09 25 27 06 05

Step I: 27 16 09 25 06 05

Step II: 27 25 16 09 06 05

The whole set of numbers get arranged in descending order in Step II itself. So, Step II is the last step for the given input.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Long Lost Friend
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon