Problem 1150 · Easy

Check If a Number Is Majority Element in a Sorted Array

Decide whether a target value occupies more than half of a sorted array. The visual probes the quarter points and locates the target run boundaries with binary search.

Open the interactive visualisation