- Time : O(nlogm)
- Space : O(1)
c++
1 | int buildFailures(vector<vector<bool>> buildRuns) { |