Day 4 of my DSA in Python journey 🚀
Today I solved LeetCode 28 – Find the Index of the First Occurrence in a String.
What I learned:
- String searching
- How substring matching works
- Using Python's ".find()" method
- Manual string traversal using a loop
- Time Complexity: O(n) (using ".find()")
Learning the logic behind each problem and improving my problem-solving skills one day at a time.
#Python #DSA #LeetCode #CodingJourney #100DaysOfCode #LearningInPublic