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.
通常、1 ~ n 個の要素のループがある場合、複雑さは O(n) であり、さらにネストされたループは nx O(n) です。しかし、サブルーチンが O(log n) の複雑さを持っているといつ言いますか?