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

How many steps will be required for getting the final output foe the following input ?
Input : 101 85 66 49 73 39 142 25 115 74

A
Five
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Six
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Seven
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
Eight
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D Eight
Input:101 85 66 49 73 39 142 25 115 74
Step 1: 25 101 85 66 49 73 39 142 115 74
Step 2: 25 101 85 66 49 73 39 115 74 142
Step 3: 25 39 101 85 66 49 73 115 74 142
Step 4: 25 39 101 85 66 49 73 74 115 142
Step 5: 25 39 49 101 85 66 73 74 115 142
Step 6: 25 39 49 85 66 73 74 101 115 142
Step 7: 25 39 49 66 85 73 74 101 115 142
Step 8: 25 39 49 66 73 74 85 101 115 142
Answer is Option D

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