Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
円上に n 個の点がある場合、直径の両側の点の数が等しくなるような直径を見つける必要があります。ポイントがソートされている場合、これは線形時間で解決できます。ソートされていない場合はどうですか。線形時間はまだ達成できますか?