two sum is p1, not p2

This commit is contained in:
Jidong Xiao
2023-10-20 10:07:32 -04:00
parent d291504407
commit 284f8d452d

View File

@@ -157,6 +157,6 @@ on whether or not the key was in a pair in the map.
## 15.10 Leetcode Exercises ## 15.10 Leetcode Exercises
- [Leetcode problem 2: Two Sum](https://leetcode.com/problems/two-sum/). Solution: [p2_twosum.cpp](../../leetcode/p2_twosum.cpp). - [Leetcode problem 1: Two Sum](https://leetcode.com/problems/two-sum/). Solution: [p1_twosum.cpp](../../leetcode/p1_twosum.cpp).
- [Leetcode problem 290: Word Pattern](https://leetcode.com/problems/word-pattern/). Solution: [p290_word_pattern.cpp](../../leetcode/p290_word_pattern.cpp). - [Leetcode problem 290: Word Pattern](https://leetcode.com/problems/word-pattern/). Solution: [p290_word_pattern.cpp](../../leetcode/p290_word_pattern.cpp).