Skip to content

Commit d69bd38

Browse files
authored
Update 0138-copy-list-with-random-pointer.md
Made the necessary changes.
1 parent e0d2384 commit d69bd38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dsa-solutions/lc-solutions/0100-0199/0138-copy-list-with-random-pointer.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Output: [[3,null],[3,0],[3,null]]
4343
### Constraints:
4444

4545
- The number of nodes in the list is in the range [0, 1000].
46-
- -10000 <= Node.val <= 10000
46+
- `-10000 <= Node.val <= 10000`
4747
- Node.random is null or is pointing to a node in the linked list.
4848

4949
---
@@ -224,4 +224,4 @@ class Solution:
224224

225225
### Summary
226226

227-
This approach efficiently creates a deep copy of a linked list with random pointers by leveraging the existing structure of the list and ensuring that each node and its clone are linked adjacently.
227+
This approach efficiently creates a deep copy of a linked list with random pointers by leveraging the existing structure of the list and ensuring that each node and its clone are linked adjacently.

0 commit comments

Comments
 (0)