Apple interview question

Solve DS problems and DP program