Eddington Distance

Asked at Liftoff · Coding Questions · Difficulty: Medium · Last asked Jul 15, 2026

Given an array `A` where `A[i]` is the distance traveled on day `i` (non-negative integers), the **Eddington number E** is the largest integer `E` such that there are at least `E` days with distance `>= E`.

Loading the problem…