Deloitte interview question

Sorting Algorithms Queue Knapsack problem