Qualtrics Interview Question

isPalindrome recursion n-ary trees