PlayStation interview question

General algorithms (Stack/queue problem, sorting problem) and JavaScript quiz.