Given the root of a binary tree, return the number of pseudo palindromic paths from the root node to any leaf node.
A path from the root to a leaf is considered pseudo palindromic if at least one permutation of the node values along the path forms a palindrome.
Constraints:
The number of nodes in the tree is in the range
Node.val
Given the root of a binary tree, return the number of pseudo palindromic paths from the root node to any leaf node.
A path from the root to a leaf is considered pseudo palindromic if at least one permutation of the node values along the path forms a palindrome.
Constraints:
The number of nodes in the tree is in the range
Node.val