Open nagato1208 opened 4 years ago
https://nagato1208.github.io/2019/12/01/leetcode-1274-Number-of-Ships-in-a-Rectangle/#more
描述On the sea represented by a cartesian plane, each ship is located at an integer point, and each integer point may contain at most 1 ship. You have a function Sea.hasShips(topRight, bottomLeft) which
心态爆炸呀...
https://nagato1208.github.io/2019/12/01/leetcode-1274-Number-of-Ships-in-a-Rectangle/#more
描述On the sea represented by a cartesian plane, each ship is located at an integer point, and each integer point may contain at most 1 ship. You have a function Sea.hasShips(topRight, bottomLeft) which