20250913
- relaxed tiem with my wife
- reviewed pull requests:
- LeetCode 104. Maximum Depth of Binary Tree
- LeetCode 15. 3Sum
20250912
- full-time job (super hard)
- I feel drained. There are deadlines, communications, and so on.
- printed out documents
- spent some relaxed time with my wife
20250911
- full-time job (super hard)
20250910
- MTG with my layer
- full-time job (extremely hard)
- asked my friend to write a letter for us (one of VISA process)
- went to bed early
20250909
- full-time job (super hard)
- refactored my solution for LeetCode 150. Evaluate Reverse Polish
Notation
20250908
- full-time job
- I tend to work too hard on Monday. I should try to keep my
pace.
- picture drawing
- 1 hour run, chest press
20250907
- some work for my full-time position
- Is Subsequence w/ Carolina
- Search Insert Position w/ Carolina
bisect.bisect_left(nums, target)
- getting familiar with Binary Search
- checked undefined behavior in C++
- stretches, push-ups
20250906
- some research on Python syntactic sugar
- spent some time with my wife, exploring new plazas, eating out @
Habit Burger
- read “世の中の8割はどうでもいい。:
頑張ってもうまくいかない人生を変える思考術”
- The book was not very interesting, but it was good to read a book
and exercise my brain cells.
- stretches, push-ups
20250905
- tire exchange @ JiffyLube
- reviewed a pull request: LeetCode 50. Maximum Subarray
- different style of Kadane
- full-time job
- I’ve been so busy. Is this how salespeople feel like every day?
- picture drawing
20250904
- full-time job (very hard)
- did some research on Reverse Polish Notation (RPN)
- stretches, push-ups
20250903
- LeetCode 133. Clone Graph
- refined my recursive solution by avoiding lambda nested functions
- My mentor says that it is rare to use nested functions in C++
- updated my study note
- full-time job
- LeetCode 150. Evaluate Reverse Polish Notation
- I guess it is a famous notation in computer science. I think I
studied the advantage of the polish notation, but I don’t exactly
remember.
- TIL:
std::to_string
, std::stoi
,
switch () {
only works for int
,
stack.top()
/ stack.pop()
(unlike Python’s
data structure, pop()
does not return a value.).
- made an appointment for tire exchange
- stretches, push-ups
20250902
- full-time job
- 60 minutes run (hard)
- LeetCode 133. Clone Graph
- browsed the discussion on the computer hardware in the study
group
- browsed clock
cycles of 3rd Generation Intel® Xeon® Scalable Processor Family by
downloading the CSV file.
- one instruction requires 1~14 clock cycles :eyes:
- Recent CPU has around 3 GHz frequency ->
3 * 10 ^ 9
clock cycles per second -> 3 clock cycles per 1 ns. Let’s say a
program’s instructions cost 3 clock cycles on average -> 1
instruction per 1 nano second (with fast programming such as C++).
However, Things are more complicated due to pipeline or concurrent
instruction execution.
- stretches, push-ups
20250901
- some work for my full-time position
- LeetCode 133. Clone Graph
- It is taking me some time to feel comfortable with C++ lambda
syntax.
- created a pull request to ask for reviews in the study group
TODO:
- USCIS office visit (20250919 10:15 am)
- close brokerage accounts
- Union Find (Disjoint Set)
- make an appointment for passport
- dentist’s appointment (20251111 8:30 am)
index 20250831 202510