LeetCode 392 - Is Subsequence with Two Pointer Approach

Day 17/100 – Consistency in Action Today’s problem: LeetCode 392 – Is Subsequence A simple-looking problem, but a great reminder that strong fundamentals matter. I implemented the Two Pointer Approach to efficiently determine whether one string is a subsequence of another — achieving an optimal solution with O(n) time complexity and O(1) space. What I learned today: • How to think in terms of relative order instead of exact matching • Why greedy traversal works perfectly in subsequence problems • Importance of choosing the right approach over brute force • Strengthening problem-solving intuition for interviews Every day may not feel big, but these consistent efforts are slowly building confidence and clarity On to Day 18 #Day17 #100DaysOfCode #DSA #LeetCode #Python #CodingJourney #Consistency #ProblemSolving #TechJourney

  • graphical user interface, text

To view or add a comment, sign in

Explore content categories