Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3d930ec

Browse files
Update README
1 parent 23cdb66 commit 3d930ec

File tree

2 files changed

+2
-30
lines changed

2 files changed

+2
-30
lines changed

‎README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ organizing the questions by category and linked to the solution I wrote for each
55
| Number | Question | Hints | Python Solution | C++ Solution |
66
|:------:|:--------:|-------|:---------------:|:------------:|
77
| 1 |[Two Sum](https://leetcode.com/problems/two-sum/) | Use a hash table to keep track of the indices of the numbers you've encountered so far. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0001_two_sum.py) | [C++ Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/c%2B%2B_solutions/0001_two_sum.cpp) |
8+
| 24 | [Swap Nodes in Pairs](https://leetcode.com/problems/swap-nodes-in-pairs/) | Implement both the iterative and recursive solution. What do we do if the linked list has an odd number of nodes? | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0024_swap_nodes_in_pairs.py) | |
89
| 56 |[Merge Intervals](https://leetcode.com/problems/merge-intervals/)| Sort the intervals by increasing start time. |[Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0056_merge_intervals.py) | |
910
| 66 | [Plus One](https://leetcode.com/problems/plus-one/) | Try iterating through each digit backwards. What do you do when the digit is a 9? | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0066_plus_one.py)| |
1011
| 88 | [Merge Sorted Array](https://leetcode.com/problems/merge-sorted-array/) | Look at one element from each of the arrays, compare them, and make a decision depending on their relation to each other. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0088_merge_sorted_arrays.py)| |
1112
| 122 | [Best Time to Buy and Sell Stock II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/solution/) | What should we do every time there is a valley followed by a peak in price? | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0122_best_time_to_buy_and_sell_stock_II.py) | |
13+
| 206 | [Reverse Linked List](https://leetcode.com/problems/reverse-linked-list/) | Try a recursive solution. Split the list up into the first node and the rest of the list. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0206_reverse_linked_list.py) | |
1214
| 217 | [Contains Duplicate](https://leetcode.com/problems/contains-duplicate/) | Maintain a hash set that keeps track of the numbers we've encountered so far. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0217_contains_duplicate.py) | |
1315
| 344 | [Reverse String](https://leetcode.com/problems/reverse-string) | Use the two pointer approach. Try implementing an iterative and recursive solution. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0344_reverse_string.py)| |
1416
| 392 | [Is Subsequence](https://leetcode.com/problems/is-subsequence/) | Use two pointers to iterate through the two strings simultaneously. | [Python Solution](https://github.com/codethecoffee/leetcode-solutions/blob/master/python_solutions/0392_is_subsequence.py)| |

‎python_solutions/206_reverse_linked_list.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /