Pregunta de entrevista de TBO.com

1st technical involved DSA and in-depth OS. One question from tries and one basic recursion. Fumbled a bit on the OS.