SELECT YOUR CHALLENGE
TWIN SEEKERS
PAIR SUM ARENA
Two heroes stand at opposite ends of a sorted stone bridge. Move them toward each other to find pairs that sum to the target value K. Wrong moves collapse the bridge!
if (sum == K) → TREASURE! if (sum > K) → Right-- if (sum < K) →
Left++
DIFFERENCE DUEL
POINTER CHASE
Two travelers explore a sorted path. Calculate the difference between their positions to open portals. If P1 catches P2 incorrectly, deadly traps activate!
diff = arr[P2] - arr[P1] if (diff == K) → PORTAL! if (diff < K) →
P2++ if (diff > K) → P1++
WATER WALLS
MAX STORAGE CHALLENGE
Select two walls in a physics puzzle arena. Water stored equals min(height[L], height[R]) × width. Find the maximum possible storage with dynamic water simulation!
water = min(H[L], H[R]) × (R-L) if (H[L] < H[R]) → L++ else →
R--
TRIPLET TRIALS
THREE-PATH OPTIMIZATION
Control three adventurers walking on parallel arrays A, B, C. Minimize the difference between max and min values. Always advance the minimum pointer!
diff = max(a,b,c) - min(a,b,c) MOVE pointer at MIN value GOAL:
minimize diff
DUAL HEROES OF LOGIC LAND
TWO-POINTER ADVENTURE
The ultimate two-pointer adventure! Two heroes travel through multiple worlds: Sum Comparison, Difference, Height, and Palindrome worlds. Master all pointer techniques in one epic journey with adaptive rules, level challenges, and rewards!
WORLDS: Sum → Difference → Height → Palindrome MODES: Move Toward
| Move Away | Expand Center | Chase MASTER: Pointer State Machine
+ Visual Movement + Pathfinding