WD Element 外置硬盘一直在自检,启动不了# Hardware - 计算机硬件
h*n
1 楼
given array X and target t, find k elements in X such that sum {X[i]|i=1~k}
= t.
k = 2, 3 is classical
k = 4 sometimes is asked too
how about k = 5, and any given constant k? any general solution and what's
the complexity with respect to k?
= t.
k = 2, 3 is classical
k = 4 sometimes is asked too
how about k = 5, and any given constant k? any general solution and what's
the complexity with respect to k?