From 4c169e3e663f1d1e739d317d855715ca97aa855d Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Tue, 7 Nov 2023 01:58:48 -0500 Subject: [PATCH] adding notes --- lectures/20_hash_tables_I/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/lectures/20_hash_tables_I/README.md b/lectures/20_hash_tables_I/README.md index c25a025..483f83f 100644 --- a/lectures/20_hash_tables_I/README.md +++ b/lectures/20_hash_tables_I/README.md @@ -341,5 +341,6 @@ the table. The erase function only invalidates an iterator that references the c ## 20.13 Leetcode Exercises - [Leetcode problem 1: Two Sum](https://leetcode.com/problems/two-sum/). Solution: [p1_twosum_hash_table.cpp](../../leetcode/p1_twosum_hash_table.cpp). +**Note**: make sure you understand this longest consecutive sequence problem and its solution, because you will re-write this function in the lab. - [Leetcode problem 128: Longest Consecutive Sequence](https://leetcode.com/problems/longest-consecutive-sequence/). Solution: [p128_longest_consecutive_sequence.cpp](../../leetcode/p128_longest_consecutive_sequence.cpp).