Pregunta de entrevista de bp

Database related and SQL related problems. Knapsack problem and Binary Search problem.