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.
我试图找出是否可以在logn步骤中使用O(1)空间评估长度为n的二进制数中的on位数?如果是这样- 怎么样?
查找表将在恒定时间内找到它。