Practice ยท 3 of 3
Leftmost Point
Given struct Point { int x; int y; }; in scope, implement struct Point* leftmost(struct Point *pts, int n) returning a pointer to the point with the SMALLEST x (ties: the first such point).
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Data Modeling