Daily challenge for 2025-08-20
232. K Closest Points to Origin (Deterministic)
Write a function solve that returns the k points closest to the origin from the list points. Break ties by smaller x, then smaller y. Return the resulting points sorted by that same order.
Example:Input: points = [[1,3], [-2,2]], k = 1Output: [[-2,2]]
Run this challenge interactively in Python or JavaScript when the app loads.