CodeForce interview question

Segment tree + dynamic programming

Interview Answer

Anonymous

Jul 20, 2021

classic algorithm of 0 1 knapsack