-->
当前位置:首页 > 题库

题库 第6513页

  • 最新
  • 浏览
  • 评论

If the depth of an AVL tree with nodes { 1, 2, 3, 4 } is 3 (the

Luz5年前 (2021-05-10)1511
If the depth of an AVL tree with nodes { 1, 2, 3, 4 } is 3 (the depth of the root is 1), then it is possible for node 4…

If a data structure supports an operation QI such that a sequenc

Luz5年前 (2021-05-10)1001
If a data structure supports an operation QI such that a sequence of $$n$$ QI’s takes $$\Theta(\frac{n^2}{\log n})$$ tim…

If a data structure supports an operation QI such that a sequenc

Luz5年前 (2021-05-10)755
If a data structure supports an operation QI such that a sequence of $$n$$ QI’s takes $$\Theta(n^2\log n)$$ time to perf…

假设某种数据结构支持一种名为 QI 的操作,使得 $$n$$ 个 QI 操作最坏情况下的时间复杂度是 $$\Theta(n^2\

Luz5年前 (2021-05-10)871
假设某种数据结构支持一种名为 QI 的操作,使得 $$n$$ 个 QI 操作最坏情况下的时间复杂度是 $$\Theta(n^2\log n)$$。那么一个 QI 操作的摊还开销是 $$\Theta(n \log n)$$,而单个 QI 操作…

如果 $$L_1 \leq_p L_2 $$,且 $$L_1 \notin NP$$,则 $$L_2 \notin NP$$。

Luz5年前 (2021-05-10)795
如果 $$L_1 \leq_p L_2 $$,且 $$L_1 \notin NP$$,则 $$L_2 \notin NP$$。 ~@[](2) 答案:TRUE…

如果 $$L_1 \leq_p L_2 $$,且 $$L_2 \in NP$$,则 $$L_1 \in NP$$。

Luz5年前 (2021-05-10)749
如果 $$L_1 \leq_p L_2 $$,且 $$L_2 \in NP$$,则 $$L_1 \in NP$$。 ~@[](2)答案:TRUE…

假设某种数据结构支持一种名为 QI 的操作,使得 $$n$$ 个 QI 操作最坏情况下的时间复杂度是 $$\Theta(\fra

Luz5年前 (2021-05-10)818
假设某种数据结构支持一种名为 QI 的操作,使得 $$n$$ 个 QI 操作最坏情况下的时间复杂度是 $$\Theta(\frac{n^2}{\log n})$$。那么一个 QI 操作的摊还开销是 $$\Theta(\frac{n}{\lo…

回顾“最大值问题”(即找出数组中 $$n$$ 个元素中的最大值)的讨论,并行算法用了 CRCW 的同值规则做内存并发处理,以保证

Luz5年前 (2021-05-10)999
回顾“最大值问题”(即找出数组中 $$n$$ 个元素中的最大值)的讨论,并行算法用了 CRCW 的同值规则做内存并发处理,以保证 $$T(n) = O(1)$$ 的时间复杂度。事实上,我们还可以用任意值规则做内存并发处理,也能保持 $$O(…

Recall the discussion about the Maximum Finding Problem (that is

Luz5年前 (2021-05-10)1014
Recall the discussion about the Maximum Finding Problem (that is, to find the maximum among $$n$$ numbers in an array),…

Consider a state-flipping algorithm for the Maximum-Cut problem.

Luz5年前 (2021-05-10)937
Consider a state-flipping algorithm for the Maximum-Cut problem. We say that partitions $$(A, B)$$ and $$(A', B')$$ are…