Day 13/100 β #100DaysOfLeetCode π
Solved Plus One today. β
Practiced handling carry while traversing the array from right to left.
β±οΈ Time: O(n)
πΎ Space: O(1)
13/100 π₯
#LeetCode#DSA#Java#100DaysOfCode
Day 12/100 β #100DaysOfLeetCode π
Solved Reshape the Matrix today. β
No electricity today, but somehow managed to get it done. π πͺ
β±οΈ Time: O(m Γ n)
πΎ Space: O(r Γ c)
12/100 π₯
#LeetCode#DSA#Java#100DaysOfCode
Day 11/100 β #100DaysOfLeetCode π
Solved Maximum Subarray today using Kadaneβs Algorithm.
Learned how to keep track of the current sum and maximum sum efficiently.
β±οΈ O(n) | πΎ O(1)
11/100 π₯
#LeetCode#DSA#Java#100DaysOfCode
Day 9/100 β #100DaysOfLeetCode π
Solved Two Sum using the Brute Force approach.
Havenβt studied HashMaps yet, so I focused on the approach I know.
β±οΈ O(nΒ²) | πΎ O(1)
9/100 π₯
#LeetCode#DSA#Java#100DaysOfCode
Day 8/100 β #100DaysOfLeetCode π
Solved 2 problems today:
β Maximum Population Year
β Determine Whether Matrix Can Be Obtained By Rotation
Practiced frequency counting, matrix rotation, and comparing matrices.
8 days down.
#LeetCode#DSA#Java#Coding#100DaysOfCode
Day 7/100 β #100DaysOfLeetCode π
Solved 2 problems today:
β Transpose Matrix
β Add to Array-Form of Integer
Focused on matrix manipulation, arrays, and handling carry while adding numbers.
7 days down. 93 to go. πͺ
#LeetCode#DSA#Java#Coding#100DaysOfCode
Yesterday: watching my roommate fix the printer π¨οΈ
Today: watching him fix the home theatre π¬π§
Bro didnβt choose a career.
He just keeps finding new things to fix. π
Day 6/100 β #100DaysOfLeetCode π
Solved 2 matrix problems today:
β’ Cells with Odd Values in a Matrix
β’ Matrix Diagonal Sum
Also revised matrix traversal and optimized my approach.
6 days down. 94 to go. πͺ
#LeetCode#DSA#Java#Coding#100DaysOfCode
Day 5 of #100DaysOfLeetCode
-> Flipping an Image - reversed and inverted matrix rows using two pointers
-> Find the Highest Altitude - tracked running altitude to find the peak point
Both accepted with 100% runtime beat rate.
#DSA#100DaysOfCode#LeetCode#CodingJourney