Skip to content

Commit

Permalink
add 353 java, progress
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Oct 12, 2024
1 parent 13bc524 commit 8ea7c8f
Show file tree
Hide file tree
Showing 6 changed files with 418 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@
225| [Implement Stack using Queues](https://leetcode.com/problems/implement-stack-using-queues/) | [Python](./leetcode_python/Design/implement-stack-using-queues.py), [Java](./leetcode_java/src/main/java/LeetCodeJava/Design/ImplementStackUsingQueues.java) | push: _O(n)_, pop: _O(1)_, top: _O(1)_ | _O(n)_ | Easy || AGAIN** (1)
284| [Peeking Iterator](https://leetcode.com/problems/peeking-iterator/)| [C++](./C++/Design/peeking-iterator.cpp) [Python](./leetcode_python/Design/peeking-iterator.py) | _O(1)_ | _O(1)_ | Medium |good basic, `google`, apple| not start*** (1)
348| [Design Tic-Tac-Toe](https://leetcode.com/problems/design-tic-tac-toe/) | [Python](./leetcode_python/Design/design-tic-tac-toe.py) | _O(1)_ | _O(n^2)_ | Medium |matrix, array, 🔒, google, `fb`, `amazon`| AGAIN****** (5)
353| [Design Snake Game](https://leetcode.com/problems/design-snake-game/) | [C++](./C++/design-snake-game.cpp) [Python](./leetcode_python/Design/design-snake-game.py) | _O(1)_ | _O(s)_ | Medium |🔒, amazon, google, square, m$| Deque | AGAIN (not start)
353| [Design Snake Game](https://leetcode.com/problems/design-snake-game/) |[Python](./leetcode_python/Design/design-snake-game.py), [Java](./leetcode_java/src/main/java/LeetCodeJava/Design/DesignSnakeGame.java) | _O(1)_ | _O(s)_ | Medium |good trick, 🔒, amazon, google, square, m$| Deque | AGAIN*** (1)
355| [Design Twitter](https://leetcode.com/problems/design-twitter/) | [Python](./leetcode_python/Design/design-twitter.py), [Java](./leetcode_java/src/main/java/LeetCodeJava/Design/DesignTwitter.java)| _O(klogu)_ | _O(t + f)_ | Medium | good trick, data structure, heapq, defaultdict, `amazon` | OK******** (6)
0362| [Design Hit Counter](https://leetcode.com/problems/design-hit-counter/) | [C++](./C++/design-hit-counter.cpp) [Python](./leetcode_python/Design/design-hit-counter.py) | _O(1), amortized_ | _O(k)_ | Medium |🔒| Deque |
0379| [Design Phone Directory](https://leetcode.com/problems/design-phone-directory/) | [C++](./C++/design-phone-directory.cpp) [Python](./leetcode_python/Design/design-phone-directory.py) | _O(1)_ | _O(n)_ | Medium |🔒| |
Expand Down
3 changes: 3 additions & 0 deletions data/progress.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Progress

# 2024-10-12
- https://github.com/yennanliu/CS_basics/blob/master/doc/Leetcode_company_frequency-master/Google%206months-%20LeetCode.pdf

# 2024-10-11
- https://github.com/yennanliu/CS_basics/blob/master/doc/Leetcode_company_frequency-master/Google%206months-%20LeetCode.pdf

Expand Down
1 change: 1 addition & 0 deletions data/progress.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
20241012: 353
20241011: 528,334
20241009: 1145
20241006: 1145,1219
Expand Down
17 changes: 9 additions & 8 deletions data/to_review.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
2024-12-06 -> ['353']
2024-12-05 -> ['528,334']
2024-12-03 -> ['1145']
2024-11-30 -> ['1145,1219']
Expand All @@ -10,7 +11,7 @@
2024-11-18 -> ['430']
2024-11-17 -> ['363']
2024-11-16 -> ['1032,844,1011']
2024-11-15 -> ['947']
2024-11-15 -> ['353', '947']
2024-11-14 -> ['528,334']
2024-11-12 -> ['1145', '753']
2024-11-11 -> ['727']
Expand All @@ -19,25 +20,25 @@
2024-11-05 -> ['743,889']
2024-11-04 -> ['837', '659']
2024-11-03 -> ['801,552']
2024-11-02 -> ['981', '1057,1066,1110']
2024-11-02 -> ['353', '981', '1057,1066,1110']
2024-11-01 -> ['528,334', '1087']
2024-10-30 -> ['1145', '939']
2024-10-28 -> ['430']
2024-10-27 -> ['1145,1219', '363']
2024-10-26 -> ['1032,844,1011']
2024-10-25 -> ['947', '1110, 1055']
2024-10-25 -> ['353', '947', '1110, 1055']
2024-10-24 -> ['528,334', '524,221,889']
2024-10-23 -> ['743,889']
2024-10-22 -> ['1145', '837', '753']
2024-10-21 -> ['727']
2024-10-20 -> ['981']
2024-10-20 -> ['353', '981']
2024-10-19 -> ['528,334', '1145,1219', '1087']
2024-10-18 -> ['359,1057,1055(todo)']
2024-10-17 -> ['1145', '939']
2024-10-17 -> ['353', '1145', '939']
2024-10-16 -> ['528,334', '524,221,889']
2024-10-15 -> ['743,889', '430']
2024-10-14 -> ['528,334', '1145', '1145,1219', '837', '363', '659']
2024-10-13 -> ['528,334', '1032,844,1011', '801,552']
2024-10-15 -> ['353', '743,889', '430']
2024-10-14 -> ['353', '528,334', '1145', '1145,1219', '837', '363', '659']
2024-10-13 -> ['353', '528,334', '1032,844,1011', '801,552']
2024-10-12 -> ['528,334', '1145', '981', '947', '1057,1066,1110']
2024-10-11 -> ['1145', '1145,1219', '524,221,889', '1087']
2024-10-10 -> ['1145', '743,889']
Expand Down
Loading

0 comments on commit 8ea7c8f

Please sign in to comment.