Closed rfarhanian closed 6 years ago
No. I could not add a regression test due to the nature of the problem. There were no failing tests. I observed that the subproblem includes a part of the problem that is already solved so I tried to improve it. I also tried to add an edge case scenario. I will add my name to the author tag as you suggested.
Sounds fair. The changes look good to me.
Linear Selector should divide the problem into subproblems around the pivot element. If the order is not the pivot element, it should not include the pivot index in the subproblem.