Apply quadratic function to sorted array
Filed under Hike
The question
Given a sorted array and a quadratic function f(x) = ax^2 + bx + c, determine if the result is sorted and sort it in O(n) if not.
No write-up yet. Related questions below have one.
Related Hike questions
Collected from public candidate posts and coding forums. Updated Nov 2026.