A slow start after a long weekend
1. JS Quiz
- TUE - Did a W3Schools React Quiz. Also viewed a common React questions YouTube video. These raised a few interesting points such:
- What happens when
useEffect
dependencies is empty? - Why is React designed with immutable state in mind?
- Why is Pure Component an important design pattern in React?
- What happens when
- WED - Reviewed past weeks' content, SEO and speed. Studied Server Components too, seems it is like Astro Islands. But it seems a lot of effort for minor value... worked out a 4-week plan to investigate and implement projects that might have some value.
- FRI - Reviewed the past 30 CI pipelines. In-depth analysis to follow
2. Behaviour
- TUE - revised 3 questions. Finding blind spots...
- WED - another 3
- THU - did 3
- FRI - speaking louder in practice instead of whisper feels good! Did 3.
3. Leetcode
- TUE - Total Characters in String After Transformations I had the
Medium, string
solution, turns out they only wanted brute force, not optimised generic formula (it was hard to get to!) - WED - Total Characters in String After Transformations II, at least got the brute force
Hard, string
method working well! - THU - Longest Unequal Adjacent Groups Subsequence II. Breezed through the Easy version of this question and did this
Medium, backtracking
- FRI - repeated the question yesterday, managed to pass the backtracking solution. Couldn't figure out the dynamic programming solution though. Practiced going from
recursion
tomemoization
todynamic programming
! House Robber - SAT - Sort Colors a Medium
sorting
question. Learnt about the 3-pointer Dutch National Flag problem
4. JS Coding
- TUE - Setup astro website! Going to finish the tutorial tomorrow to make a working example of SSR & hydration.
- WED - Revised 2 questions
5. System Design
- TUE - Subdomains.
en.wikipedia.org
andads.google.com
are both examples of sub-domains. Cloud servers can spin up and allocate the resources where required. - WED - TODO: continue building the astro website
Top comments (0)