[java] Simple Solution Recursive - 100.00% Runtime
UPVOTE if you like my solution\n\n\n\nclass Solution {\n    public TreeNode searchBST(TreeNode root, int val) {\n        if(root==null)\n            return null
***UPVOTE if you like my solution***\n<hr>\n\n```\nclass Solution {\n    public TreeNode searchBST(TreeNode root, int val) {\n        if(root==null)\n            return null;\n        if(root.val==val)\n            return root;\n        \n        TreeNode l = searchBST(root.left,val);\n        TreeNode r = searchBST(root.right,val);\n        \n        if(l!=null)\n            return l;\n        if(r!=null)\n            return r;\n        \n        return null;\n    }\n}\n```
[]