#4
Hi,
Day 4 is FINALLY DONE!!!
A day when you don't learn something is a day wasted
- Anonymous
Today's leetcode problem bought back memories & previous struggles I had with questions involving operations on strings.
It was nice to go back (it felt like I was seeing string/substrings for first time 😅) to the fundamentals and try to figure out how to extract a substring from a string
Spent better part of an hour just understanding how string manipulation works in python, how to extract substring, extract all combinations of substring and then count frequency of these substrings.
So that was today's learning update.
Looking forward to learning python fundamentals by taking a more implementation heavy approach for coming days as today was more learning focused.
Learning Today
The most interesting part about today was learning about the window sliding approach.
Using that improves both Time & Space Complexity and it is way better approach than that of brute force (incase of this problem)
Key Takeaways
My understanding of strings stands on a flaky foundation and I need to go back to basics to learn them
Figuring out how to approach problems with string is needed, as coupled with foundational knowledge weakness , irrational fear of string related questions is also present.
Learning to do
String operations : extract substring (longest,shortest,unique,etc)
Dictionary data structure in python.
As this is just information gap, given enough time & effort, I intend to know how to approach string related questions
Looking forward to #5
--
Signing Off
Aditya Sharma
Comments
Post a Comment