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.
最大ヒープ O(n) を作成する時間の複雑さはどうですか。子ノードがその親と比較するのは O(i) だけですか、それとも O(log n) ですか。