Skip to content

Commit 190d38d

Browse files
committed
docs: mark done find the duplicate number
1 parent f013692 commit 190d38d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/medium/copy_list_with_random_pointer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,5 @@ pub fn copy_random_list(head: Option<Rc<RefCell<Node>>>) -> Option<Rc<RefCell<No
8585

8686
old_new_mapping.remove(&(head.as_ref() as *const _ as usize))
8787
}
88+
89+
// Note u can make pull request resolving this issue completely

src/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
- [x] [167. Two sum II - input array is sorted](../src/medium/two_sum_ii_input_array_is_sorted.rs) -> [Problem Description](../src/medium/readme.md#167-two-sum-ii---input-array-is-sorted)
5858
- [x] [238. Product of array except self](../src/medium/product_of_array_except_self.rs) -> [Problem Description](../src/medium/readme.md#238-product-of-array-except-self)
5959
- [x] [271. Encode and decode strings](../src/medium/encode_and_decode_strings.rs) -> [Problem Description](../src/medium/readme.md#271-encode-and-decode-strings)
60-
- [ ] [287. Find the duplicate number](../src/medium/find_the_duplicate_number.rs) -> [Problem Description](../src/medium/readme.md#287-find-the-duplicate-number)
60+
- [x] [287. Find the duplicate number](../src/medium/find_the_duplicate_number.rs) -> [Problem Description](../src/medium/readme.md#287-find-the-duplicate-number)
6161
- [x] [347. Top k frequent elements](../src/medium/top_k_frequent_elements.rs) -> [Problem Description](../src/medium/readme.md#347-top-k-frequent-elements)
6262
- [x] [424. Longest repeating character replacement](../src/medium/longest_repeating_character_replacement.rs) -> [Problem Description](../src/medium/readme.md#424-longest-repeating-character-replacement)
6363
- [x] [567. Permutation in string](../src/medium/permutation_in_string.rs) -> [Problem Description](../src/medium/readme.md#567-permutation-in-string)

theory/categories/3.linked_list/readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
- [x] [Remove Nth Node From End of List](https://leetcode.com/problems/remove-nth-node-from-end-of-list/) | Medium | [Solution](../../../src/medium/remove_nth_node_from_end_of_list.rs) | [Problem Description](../../../src/medium/readme.md#19-remove-nth-node-from-end-of-list)
3535
- [-] [Copy List with Random Pointer](https://leetcode.com/problems/copy-list-with-random-pointer/) | Medium | [Solution](../../../src/medium/copy_list_with_random_pointer.rs)
3636
- [x] [Add Two Numbers](https://leetcode.com/problems/add-two-numbers/) | Medium | [Solution](../../../src/medium/add_two_numbers.rs)
37-
- [ ] [Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/) | Medium | [Solution](../../../src/medium/find_the_duplicate_number.rs)
37+
- [x] [Find the Duplicate Number](https://leetcode.com/problems/find-the-duplicate-number/) | Medium | [Solution](../../../src/medium/find_the_duplicate_number.rs)
3838
- [ ] [LRU Cache](https://leetcode.com/problems/lru-cache/) | Medium | [Solution](../../../src/medium/lru_cache.rs)
3939
- [ ] [Merge k Sorted Lists](https://leetcode.com/problems/merge-k-sorted-lists/) | Hard | [Solution](../../../src/hard/merge_k_sorted_lists.rs)
4040
- [ ] [Reverse Nodes in k-Group](https://leetcode.com/problems/reverse-nodes-in-k-group/) | Hard | [Solution](../../../src/hard/reverse_nodes_in_k_group.rs)
4141

4242
Category: `Linked List`
4343
Created on: 2023-08-22 01:00:00
44-
Last modified on: 2023-09-27 04:40:00
44+
Last modified on: 2023-09-27 08:13:00
4545
Status: In Progress
4646
Author: [David Bujosa](https://github.com/bujosa)

0 commit comments

Comments
 (0)