Skip to content

Commit 164630f

Browse files
committed
each codes changed from bad to good practices
1 parent da61266 commit 164630f

10 files changed

+18
-18
lines changed

dsa-solutions/gfg-solutions/problems/BFS-traversal-of-graph.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Expected Auxiliary Space: $O(V)$.
4242

4343
## Constraints
4444

45-
- `$1 <= number of vertices <= 10^3$`
46-
- `$0 <= value of vertices <= 10^3$`
45+
- $1 <= number of vertices <= 10^3$
46+
- $0 <= value of vertices <= 10^3$
4747

4848
## Problem Explanation
4949

dsa-solutions/gfg-solutions/problems/Check-for-balanced-tree.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ Expected Auxiliary Space: $O(h)$, where h is the height of the tree.
5151

5252
## Constraints
5353

54-
- `$1 <= number of nodes <= 10^5$`
55-
- `$1 <= data of node <= 10^5$`
54+
- $1 <= number of nodes <= 10^5$
55+
- $1 <= data of node <= 10^5$
5656

5757
## Problem Explanation
5858

dsa-solutions/gfg-solutions/problems/DFS-traversal-of-graph.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Expected Auxiliary Space: $O(V)$.
4242

4343
## Constraints
4444

45-
- `$1 <= number of vertices <= 10^3$`
46-
- `$0 <= value of vertices <= 10^3$`
45+
- $1 <= number of vertices <= 10^3$
46+
- $0 <= value of vertices <= 10^3$
4747

4848
## Problem Explanation
4949

dsa-solutions/gfg-solutions/problems/Delete-middle-of-linked-list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Expected Auxiliary Space: $O(1)$.
4141

4242
## Constraints
4343

44-
- `$1 <= number of nodes <= 10^3$`
45-
- `$1 <= value of nodes <= 10^3$`
44+
- $1 <= number of nodes <= 10^3$
45+
- $1 <= value of nodes <= 10^3$
4646

4747
## Problem Explanation
4848

dsa-solutions/gfg-solutions/problems/Delete-without-head-pointer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ Expected Auxiliary Space: $O(1)$.
4545

4646
## Constraints
4747

48-
- `$2 <= number of nodes <= 10^3$`
49-
- `$1 <= value of nodes <= 10^3$`
48+
- $2 <= number of nodes <= 10^3$
49+
- $1 <= value of nodes <= 10^3$
5050

5151
## Problem Explanation
5252

dsa-solutions/gfg-solutions/problems/Implement-two-stacks-in-an-array.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ Expected Auxiliary Space: $O(1)$ for all the operations.
5656

5757
## Constraints
5858

59-
- `$1 <= N <= 100$`
60-
- `$1 <= x <= 100$`
59+
- $1 <= N <= 100$
60+
- $1 <= x <= 100$
6161

6262
## Problem Explanation
6363

dsa-solutions/gfg-solutions/problems/Intersection-of-two-sorted-linked-lists.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ Expected Auxiliary Space: $O(1)$.
4343

4444
## Constraints
4545

46-
- `$1 <= number of nodes <= 10^5$`
47-
- `$1 <= value of nodes <= 10^5$`
46+
- $1 <= number of nodes <= 10^5$
47+
- $1 <= value of nodes <= 10^5$
4848

4949
## Problem Explanation
5050

dsa-solutions/gfg-solutions/problems/Reverse-a-doubly-linked-list.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ Expected Auxiliary Space: $O(1)$.
4040

4141
## Constraints
4242

43-
- `$1 <= number of nodes <= 10^4$`
44-
- `$0 <= value of nodes <= 10^4$`
43+
- $1 <= number of nodes <= 10^4$
44+
- $0 <= value of nodes <= 10^4$
4545

4646
## Problem Explanation
4747

dsa-solutions/gfg-solutions/problems/Reverse-a-linked-list.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Expected Auxiliary Space: $O(1)$.
4747

4848
## Constraints
4949

50-
- `$1 <= N <= 10^4$`
50+
- $1 <= N <= 10^4$
5151

5252
## Problem Explanation
5353

dsa-solutions/gfg-solutions/problems/Square-root.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Expected Auxiliary Space: $O(1)$.
4141

4242
## Constraints
4343

44-
- `$0 <= x <= 10^9$`
44+
- $0 <= x <= 10^9$
4545

4646
## Problem Explanation
4747

0 commit comments

Comments
 (0)