- Time : O(nlogn + mlogm)
- Space : O(1)
c++
1 | int boardCutting(vector<int> cy, vector<int> cx) { |