Skip to main content

Practice

Fenwick Variant Drills

⭐⭐⭐ advanced~120 min of coding4 challenges

Four problems stretching the same tree in four directions: order statistics, offline sweeps, difference tricks, and inversion counting.

Checking your progress…0%

What you will practice

  1. Occupy the k-th Empty Slot⭐⭐⭐ advanced
  2. Distinct Values in a Range⭐⭐⭐ advanced
  3. Range Add, Point Query⭐⭐ intermediate
  4. Count the Inversions⭐⭐ intermediate

Need the concept first? Re-read the lesson.