Question
How many steps will be required to get the final output
from the following input? Β Input: 182 317 67 249 417 91 293 A word arrangement machine,when given a particular input, rearranges it following a particularrule. The following is the illustration of the input and the steps of arrangement: Input: 87, 321, 293, 47, 176, 409, 215 Step I: 47, 321, 293, 87, 176, 409, 215 Step II: 47, 321, 293, 87, 176, 215, 409 Step III: 47, 87, 293, 321, 176, 215, 409 Step IV: 47, 87, 293, 215, 176, 321, 409 Step V: 47, 87, 176, 215, 293, 321, 409Solution
Here the rule followed is: numbers are getting arranged in ascending order. The smallest no. interchanges with the first position. Then the largest no. interchanges with the last position. Next, the second smallest no. interchanges with the second position. And so on. Input: 182 317 67 249 417 91 293 Step I: 67 317 182 249 417 91 293 Step II: 67 317 182 249 293 91 417 Step III: 67 91 182 249 293 317 417
Thirty men working 8 hours daily complete a task in 16 days. If the work increases to three times the original and needs to be fi...
A can complete a piece of work in 12 days and B can complete the same work in 18 days. They work together for 4 days and then leave the remaining work ...
Ram can do a piece of work in 12 days and Shyam can do the same work in 20 days. They both started work together, Ram left 4 days before the completion ...
6 women and 4 children can complete a piece of work in 12 days. If 3 more women join them, they can finish 3/5 of the work in 6 days. Find the time take...
16 men can complete a work in 10 days. 10 men started the same work and left after working for βyβ days. The remaining work is completed by 6 men in...
'R' can independently complete a task in 36 days, whereas 'S' can accomplish 40% of the same work within 16 days. 'S' starts the task solo and withdraws...
A and B together can complete a piece of work in 32 days while A alone can complete 40% of the work in 32 days. Find the time taken by B to compl...
A can finish a task by himself in 25 days, whereas B can finish the same task by himself in 10 days. A begins the task but stops after 5 days, at which ...
βPβ alone can paint a house in 18 days, while βPβ and βQβ together can do it in 12 days. If βQβ started the work and left after 6 days, ...
βAβ can do a piece of work in 12 days. βBβ can do 60% of the same work in 18 days. If they work together for the entire time and get paid Rs.154...