Skip to content

Commit 13607ae

Browse files
committed
2024-08-20 v. 6.5.1: added links to "138. Copy List with Random Pointer"
1 parent 7502a40 commit 13607ae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,4 +516,4 @@ Profile on LeetCode: [fartem](https://leetcode.com/fartem/).
516516
| 129. Sum Root to Leaf Numbers | [Link](https://leetcode.com/problems/sum-root-to-leaf-numbers/) | [Link](./lib/medium/129_sum_root_to_leaf_numbers.rb) |
517517
| 133. Clone Graph | [Link](https://leetcode.com/problems/clone-graph/) | [Link](./lib/medium/133_clone_graph.rb) |
518518
| 134. Gas Station | [Link](https://leetcode.com/problems/gas-station/) | [Link](./lib/medium/134_gas_station.rb) |
519-
| 138. Copy List with Random Pointer | [Link](https://leetcode.com/problems/gas-station/) | [Link](./lib/medium/138_copy_list_with_random_pointer.rb) |
519+
| 138. Copy List with Random Pointer | [Link](https://leetcode.com/problems/copy-list-with-random-pointer/) | [Link](./lib/medium/138_copy_list_with_random_pointer.rb) |

lib/medium/138_copy_list_with_random_pointer.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
require_relative '../common/list_node_with_random'
44

5+
# https://leetcode.com/problems/copy-list-with-random-pointer/
56
# @param {Node} node
67
# @return {Node}
78
def copy_random_list(head)

0 commit comments

Comments
 (0)