OA. free
Free
Deloitte Core Computer Science Core Computer Science Medium

A word and number arrangement machine when given an input line of words and numbers...

Deloitte technical mcq question, verified with a worked answer. Free to practise - no sign-up.

A word and number arrangement machine when given an input line of words and numbers rearranges them following a particular rule in each step. The following is an illustration of input and rearrangement.

Input: same flowers 18 open 96 29 call 43

Step 1: call same flowers 18 open 96 29 43

Step 2: call 96 same flowers 18 open 29 43

Step 3: call 96 flowers same 18 open 29 43

Step 4: call 96 flowers 43 same 18 open 29

Step 5: call 96 flowers 43 open same 18 29

Step 6: call 96 flowers 43 open 29 same 18

Based on this answer the following question:

Input: love 45 different wards 22 38 national 66

How many steps will be required to complete the rearrangement?

Choose one option.
Show answer & explanation
Answer: A. A) Four

Rigorous quantitative and aptitude evaluation.

Step-by-step Derivation:
Step 1: Formulate algebraic equations.
Step 2: Solve step-by-step.
Step 3: Match with correct option.