I'm not sure how to optimize.. Can you provide some hint on how to find the next palindrome other than looping through all numbers and checking if each number is a palindrome?
Hi! I'm not sure what you mean by 'equal function'. Should the string representation of the functions be same to be considered equal function? Or view them as objects and do deep equality?
get creative
I'm not sure how to optimize.. Can you provide some hint on how to find the next palindrome other than looping through all numbers and checking if each number is a palindrome?
Hi! I'm not sure what you mean by 'equal function'. Should the string representation of the functions be same to be considered equal function? Or view them as objects and do deep equality?