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.
配列A[1...n]があり、この配列にm 個の異なるキーがあるとします。複雑になる ことは可能ですか?つまり、 if then .n→∞Θ(m) m = constantΘ(1)
A[1...n]
n→∞
Θ(m)
m = constant
Θ(1)