July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
11
:
18
:
11
Back to Dashboard
Location Index
Medium
Implement a LocationIndex class that stores a set of named points on a 2D grid.
The constructor takes three arrays: names (list of location name strings), xs (list of x-coordinates), and ys (list of y-coordinates). Each index i describes one location with name names[i], x-coordinate xs[i], and y-coordinate ys[i].
...