⚔️ Code Arena: Battle with Boosts

Use strategic power-ups to dominate the coding battlefield

250
0 watching

Power-Up Challenge

Array Rotation Challenge

Hard

Rotate an array to the right by k steps. Use power-ups strategically to gain advantage!

Input: nums = [1,2,3,4,5,6,7], k = 3
Output: [5,6,7,1,2,3,4]
Rotate right by 3 steps

Power-Up Battle Rules

Offensive Power-ups:

  • Freeze: Lock opponent editor (10s)
  • Bug Bomb: Inject code errors (5s)

Defensive Power-ups:

  • Shield: Block next attack (30s)
  • Reveal: Show hidden tests (15s)
  • Time Boost: +60 seconds

💡 Strategy Tip: Earn coins by passing test cases. Time your power-ups carefully for maximum impact!

Power-ups

250

Arena Fighters

Battle Events

Battle events will appear here...