Java Easiest Cosise Beginer Friendly (Slow)
\nclass FindElements {\n    TreeNode root;\n    public FindElements(TreeNode r) {\n        root = r;\n        r.val = 0;\n    }\n    public boolean find(int tar
```\nclass FindElements {\n    TreeNode root;\n    public FindElements(TreeNode r) {\n        root = r;\n        r.val = 0;\n    }\n    public boolean find(int target) {\n        return find(root,target);\n    }\n    public boolean find(TreeNode root,int target){\n        if(root == null) return false;\n        if(root.val == target) return true;\n        if(root.left != null) root.left.val = 2 * root.val + 1; \n        if(root.right != null) root.right.val = 2 * root.val + 2;\n        return find(root.left,target) || find(root.right,target);\n    }\n}\n```
['Java']