Skip to main content

Kadane's Quiz

Editorial

12 questions across the two Kadane's lessons: what to carry from value to value, what each update does, and what a small bug does. Pick an answer to see whether it's right and why. Nothing is saved, so you can take it again.

If one trips you up, its lesson is Kadane's Algorithm or Kadane's Algorithm with More State.

Quiz

1 / 12

Multiple choice

The largest sum of a contiguous subarray. What do you carry from value to value?