given
vector<vector<int>> &points
but changed to
vector<Point> &points
I am new to leetcode and trying to reading great coders codes. But they choose to change input/returned datatypes. How does that get accepted? Why do they do that?