Question
How many steps are required to complete the given
arrangement? Study the following information carefully to answer the given questions. A number arrangement machine when given an input line of numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement. Input: 97 13 78 2391 45 67 32 Step I: 04 78 23 91 45 67 32 02 Step II: 05 04 78 45 67 32 02 08 Step III: 05 05 04 45 67 02 08 01 Step IV: 09 05 05 04 02 08 01 01 Step IV, is the last step. Input: 76Â 14Â 12Â 96Â 86Â 34Â 65Â 45Â 56Â 24Solution
In the given Input-Output the numbers are arranged from both the ends simultaneously. In first step- Lowest number is arranged from the left end and highest number is arranged from the right end. In second step- 2nd lowest number is arranged from the left end and 2nd highest number is arranged from the right end and so on... Also while arranging the numbers, the numbers which are arranged from left end are replaced by the addition of the digits of that number whereas the numbers which are arranged from the right end are replaced by the difference of the digits of that number. Input: 76Â 14Â 12Â 96Â 86Â 34Â 65Â 45Â 56Â 24 Step I: 03Â 76Â 14Â 86Â 34Â 65Â 45Â 56Â 24 03 Step II: 05Â 03Â 76Â 34Â 65Â 45Â 56Â 24Â 03Â 02 Step III: 06Â 05Â 03Â 34Â 65Â 45Â 56Â 03Â 02 01 Step IV: 07Â 06Â 05Â 03Â 45Â 56Â 03Â 02Â 01Â 01 Step V: 09Â 07Â 06Â 05Â 03Â 03Â 02Â 01Â 01 01
Which of the following can cause a Tsunami?
Which country ranked first in the Women, Peace and Security (WPS) Index 2025–26?
Which among the following books is not written by Arundhati Roy?
Which of the following is NOT a hydroelectric power plant?
Which programming language is commonly used for developing artificial intelligence and machine learning applications?
‘Atla Taddi’, a festival celebrated by married and unmarried women alike to seek the blessings of Devi Gauri for a long and happy married life and a...
What is the capital city of Kazakhstan?
In the first phase of the green revolution (approximately mid 1960s up to mid 1970s), the use of HYV seeds was restricted to the more affluent in which ...
Where is the venue of Asian Cup Football tournament 2023 ?
The missing number in the given figures is