3

3SUM

Problem in computational complexity theory

In computational complexity theory, the 3SUM problem asks if a given set of n {\displaystyle n} real numbers contains three elements that sum to zero. A generalized version, k {\displaystyle k} -SUM, asks the same question on k {\displaystyle k} elements, rather than simply 3.

Nº Q4636407 ★

Comum · Saberes

3SUM

Problem in computational complexity theory

Texto em inglês

In computational complexity theory, the 3SUM problem asks if a given set of n {\displaystyle n} real numbers contains three elements that sum to zero. A generalized version, k {\displaystyle k} -SUM, asks the same question on k {\displaystyle k} elements, rather than simply 3.

Último preço

—

Preço mínimo

—

Mediana 7 d

—

Vendas 30 d

0

Faixa 30 d

—

Em circulação

0

Cotação

Ver tabela
Datamediana MínMáxvendas

Histórico de vendas

Última venda
—
Média 30 d
—
Mínima 30 d
—
Máxima 30 d
—
Vendas 7 d
0
Vendas 30 d
0

Ainda sem vendas.

Vendas anônimas: sem comprador nem vendedor. Os números contam só vendas entre jogadores.

Na Wikipédia

Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.

In computational complexity theory, the 3SUM problem asks if a given set of n {\displaystyle n} real numbers contains three elements that sum to zero. A generalized version, k {\displaystyle k} -SUM, asks the same question on k {\displaystyle k} elements, rather than simply 3. 3SUM can be easily solved in O ( n 2 ) {\displaystyle O(n^{2})} time, and matching Ω ( n ⌈ k / 2 ⌉ ) {\displaystyle \Omega (n^{\lceil k/2\rceil })} lower bounds are known in some specialized models of computation (Erickson 1999). It was conjectured that any deterministic algorithm for the 3SUM requires Ω ( n 2 ) {\displaystyle \Omega (n^{2})} time. In 2014, the original 3SUM conjecture was refuted by Allan Grønlund and Seth Pettie who gave a deterministic algorithm that solves 3SUM in O ( n 2 / ( log ⁡ n / log ⁡ log ⁡ n ) 2 / 3 ) {\displaystyle O(n^{2}/({\log n}/{\log \log n})^{2/3})} time. Additionally, Grønlund and Pettie showed that the 4-linear decision tree complexity of 3SUM is O ( n 3 / 2 log ⁡ n ) {\displaystyle O(n^{3/2}{\sqrt {\log n}})} . These bounds were subsequently improved. The current best known algorithm for 3SUM runs in O ( n 2 ( log ⁡ log ⁡ n ) O ( 1 ) / log 2 ⁡ n ) {\displaystyle O(n^{2}(\log \log n)^{O(1)}/{\log ^{2}n})} time. Kane, Lovett, and Moran showed that the 6-linear decision tree complexity of 3SUM is O ( n log 2 ⁡ n ) {\displaystyle O(n{\log ^{2}n})} . The latter bound is tight (up to a logarithmic factor). It is still conjectured that 3SUM is unsolvable in O ( n 2 − Ω ( 1 ) ) {\displaystyle O(n^{2-\Omega (1)})} expected time. When the elements are integers in the range [ − N , … ,...

Texto: Wikipédia em inglês, CC BY-SA 4.0. ·

Cartas próximas

Ver a ficha

Confirmação