nagato1208 / nagato1208.github.io

For my blog
2 stars 0 forks source link

leetcode-1274-Number of Ships in a Rectangle | Nagato at sea #57

Open nagato1208 opened 4 years ago

nagato1208 commented 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

nagato1208 commented 4 years ago

心态爆炸呀...