Pseudo-Palindromic Paths in a Binary Tree
Comparing my code from a year ago.
Sep 14, 2022
temp = []
d={}
ans = 0
class Solution:
def pseudoPalindromicPaths (self, root: Optional[TreeNode]) -> int:
def goDeep(node):
global temp,d,ans
if node:
...
tapanrachchh.hashnode.dev2 min read