Participated in CodeChef Starters 256 this Wednesday! π
Solved 4 out of 7 problems and secured a Global Rank of 3,242 with a score of 400.
Another step forward in my competitive programming journey β learning, solving, and improving with every contest. π»
#CodeChef#DSA#Coding
π LeetCode 91 β Decode Ways β
Solved using DP by breaking each position into two possibilities:
β’ Decode the current digit individually
β’ Decode the current + previous digit if it forms 10β26
β±οΈ O(n) Time | πΎ O(n) Space
Another DP problem solved! π₯
#LeetCode#DSA#DP#Java
Solved merge sort on LLπ
The interesting part wasn't just implementing itβit was connecting what I already knew from arrays with l l, figuring out how to split, recursively sort, merge, and most importantly, returning the correct head.
Small win, but a satisfying one.π§ π»
#DSA
A simple problem with a different bitwise XOR insight.
Before exploring subsequences, I asked a simpler question:
What happens if we take the XOR of the entire array?
If XOR=0 -> then a non-zero element must be checked for the answer to be validated.
#LeetCode#DSA#Bitwise#Java
Recently got the 100 Days Badge for the year 2026 β
Not as consistent as I wanted to be, but progress is progress. Now it's time to stay disciplined and aim for the 200 Days Badge.
It will be here in 3 months. π
#LeetCode#DSA#CodingJourney