Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Note that the node values of a path form a palindrome if at most one digit has an odd frequency (parity).
Use a Depth First Search (DFS) keeping the frequency (parity) of the digits. Once you are in a leaf node check if at most one digit has an odd frequency (parity).