Robinhood Interview Question

Basic programming questions, one was knapsack algorithm.