Perpule Interview Question

Subset in array next small palindrome binary tree