From 6fe2ec02a06cd5025e38cb386399587f47c62112 Mon Sep 17 00:00:00 2001 From: Anshika Yadav <14anshika7yadav@gmail.com> Date: Mon, 10 Jun 2024 11:15:46 +0530 Subject: [PATCH 1/2] Made changes --- .../0000-0099/0098-validate-binary-search-tree.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md b/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md index e5f8ad87d..f92ff2321 100644 --- a/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md +++ b/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md @@ -1,5 +1,5 @@ --- -id: validate binary search tree +id: validate-binary-search-tree title: Validate Binary Search Tree sidebar_label: 0098 Validate Binary Search Tree tags: @@ -40,7 +40,7 @@ Output: false ### Constraints - The number of nodes in the tree is in the range $[1, 10^4]$. -- `-2^(31) <= Node.val <= 2^(31) - 1.` +- $-2^(31) <= Node.val <= 2^(31) - 1$. ### Approach From e864a92cbec39db6cecbaa52cf9bbf0b421bfa35 Mon Sep 17 00:00:00 2001 From: Anshika Yadav <14anshika7yadav@gmail.com> Date: Mon, 10 Jun 2024 11:20:34 +0530 Subject: [PATCH 2/2] updatedd --- .../lc-solutions/0000-0099/0098-validate-binary-search-tree.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md b/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md index f92ff2321..e50b6a319 100644 --- a/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md +++ b/dsa-solutions/lc-solutions/0000-0099/0098-validate-binary-search-tree.md @@ -40,7 +40,7 @@ Output: false ### Constraints - The number of nodes in the tree is in the range $[1, 10^4]$. -- $-2^(31) <= Node.val <= 2^(31) - 1$. +- $-2^{31} \leq \text{Node.val} \leq 2^{31} - 1$ ### Approach