MathWorks Interview Question

Javascript questions on array and trees. Palindrome and string question.