Operating System Notes Codehelp Javascript Interview Question