TechnoIdentity interview question

https://www.geeksforgeeks.org/0-1-knapsack-problem-dp-10/ This is the only question they ask in hiring manager round . 1st round is very easy , contains a sql problem and two coding problems