Courses reasoning input output
Lesson
04 of 16

Double Shifting Arrangement

Master double shifting where elements shift from both left and right ends simultaneously, with step-by-step solved examples and position counting techniques

Double Shifting Arrangement

In Double Shifting, the machine shifts elements from both the left end and the right end simultaneously at each step. This means two elements are placed at each step — one on the left and one on the right.

This is a Mains-level question type and appears in IBPS PO Mains, SBI PO Mains, and RBI Grade B.


How Double Shifting Works

At each step:

  1. The machine picks one element for the left end (e.g., smallest number)
  2. Simultaneously picks one element for the right end (e.g., largest number)
  3. Both are placed at their respective ends
  4. Remaining elements adjust in between

This means:

  • Step 1 places 2 elements (1 left + 1 right)
  • Step 2 places 2 more (total 4 arranged)
  • Step N places 2 more (total 2N arranged)

Total steps needed = Total elements / 2 (roughly)


Solved Example 1: Number Double Shifting

Direction (6-10): 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.

🔐

Pro Content Locked

Upgrade to Pro to access this lesson and all other premium content.

Pro
Popular Save ₹100/mo
99 /mo
₹199

Launch prices slashed to nearly half

₹99 charged monthly · Cancel anytime

  • All Agriculture & Banking Courses
  • AI Lesson Questions (100/day)
  • AI Doubt Solver (50/day)
  • Glows & Grows Feedback (30/day)
  • AI Section Quiz (20/day)
  • 22-Language Translation (100/day)
  • Recall Questions (20/day)
  • AI Quiz (15/day)
  • AI Quiz Paper Analysis (100/day)
  • AI Step-by-Step Explanations (100/day)
  • Spaced Repetition Recall (FSRS)
  • AI Tutor
  • Immersive Text Questions
  • Audio Lessons — Hindi & English
  • Mock Tests & Previous Year Papers
  • Summary & Mind Maps
  • XP, Levels, Leaderboard & Badges
  • Generate New Classrooms
  • Voice AI Teacher (AgriDots Live)
  • AI Revision Assistant
  • Knowledge Gap Analysis
  • Interactive Revision (LangGraph)

🔒 Secure via Razorpay · Cancel anytime · No hidden fees