LeetCode: 1457-Pseudo-Palindromic Paths in a Binary Tree 解題紀錄
Last Updated on 2022-09-14 by Clay
題目
Given a binary tree where node values are digits from 1 to 9. A path in the binary tree is said to be pseudo-palindromic if at least one permutation of the node values in the path is a palindrome.
Read More »LeetCode: 1457-Pseudo-Palindromic Paths in a Binary Tree 解題紀錄