Inspired by this medium article, I decided to study DSA questions on LeetCode and learn a new concept about System Design daily ( via the System Design Roadmap on roadmap.sh)
So now onto DAY 1:
First, System Design
I started with a new System Design Concept: Intro to System Design
Since this is more of a personal journey experience rather than an educative article , I'll be very brief and a but more loose permit me
So, System design is the process of defining the elements of a system, as well as their interactions and relationships, in order to satisfy a set of specified requirements.
Steps of System Design
- Understand the issue by gathering information about the current system, if any , and the requirements.
- learn the scope or like range of the system to identify what the system will and won't do
- Research on existing systems
- Create a high-level design:
- Refine the design:
- Document the design:
- Continuously monitor and improve the system:
Also, I watched Jackson Gabard’s talk on architecture interviews. He emphasized that while coding interviews test basic competence, architecture interviews assess technical leadership and problem-solving depth. His example of estimating server needs from vague user metrics was a useful reminder: breaking down fuzzy problems into tractable parts is a core skill for senior engineers.
Link :
I even drew some diagrams with some tidbits of information
Overall, it was a nice introduction to a vast and surely interesting field.
Now onto DSA!!!
For the DSA section, I used Leetcode to solve a medium level code challenge String to Integer (atoi) . It took some time, 3 HOURS to be specific but it worked out as long since I solved at my own pace(no rush). Tested some edge cases and wrote some very clean code if I do say so myself.
Of course I took some notes based on my overall experience with the challenge some of which are:
- best to use
match
ahead of the loop - strip strips a string to words not characters
s = s.strip()
- regex is cracked i.e.
re.match(r"[+-]?\d+", s)
- to group matched characters best to use group()
match.group()
Full code and Solution here: String to Integer (atoi) Solution
I plan to continue this for as long as I can but it would be difficult if it constantly gets no motion so please follow like retweet share and even have a chat about it
Thanks.
Top comments (1)
What a great post, @ik_8a78062fd65be769dd835
Reading about others' learning journey experiences motivates me to keep going.
Congrats on your DSA progress.