LC 1457. Pseudo-Palindromic Paths in a Binary Tree
https://leetcode.com/problems/pseudo-palindromic-paths-in-a-binary-tree/description/
class Solution {
public:
int ans;
void dfs(TreeNode *cur, vector<int> &cnt) {
if (cur == NULL) return;