947 Most Stones Removed with Same Row or Column
1. Question
Input:
stones = [[0,0],[0,1],[1,0],[1,2],[2,1],[2,2]]
Output: 5Input:
stones = [[0,0],[0,2],[1,1],[2,0],[2,2]]
Output: 3Input:
stones = [[0,0]]
Output: 02. Implementation
3. Time & Space Complexity
Last updated