i recently solving this problem the problem is quite interesting can somebody suggest any method to solve this question if range of k increase from 200 to n .
dp on tress
i recently solving this problem the problem is quite interesting can somebody suggest any method to solve this question if range of k increase from 200 to n .