CodeForce interview question

Segment tree + dynamic programming

Interview Answer

Anonymous

20 July 2021

classic algorithm of 0 1 knapsack