
BeginnerProgrammer
@BeginnerPro27
Followers
14
Following
44
Media
205
Statuses
213
String onTheWayOfExpertProgrammer = "Soon" ;
Rewa, Madhya Pradesh, India
Joined December 2024
π
Day 213 β LeetCode #88.π― Merge two sorted arrays in-place.π Used two pointers from end.π‘ O(m + n) without extra space.π Mastering in-place merging!.#Java #LeetCode #TwoPointers #ArrayManipulation #DSA #300DaysOfCode
0
0
2
π
Day 212 β LeetCode #78.π― Generate all subsets (power set).π§ Used backtracking + recursion.π Explored include/exclude choices.π₯ Clean, efficient structure!.#Java #LeetCode #Backtracking #Subsets #DSA #300DaysOfCode
0
0
3
π Day 211 β LeetCode #525.π Problem: Longest subarray with equal 0s & 1s.β
Replaced 0s with -1s.β
Used prefix sum & HashMap.β
Clean O(n) solution!.Powerful example of how mathematical transformations simplify logic π₯.#Java #LeetCode #DSA #300DaysOfCode
0
0
2
π
Day 210 β LeetCode #1751.π― Pick k max-value non-overlapping events.π§ DP + Binary Search.π State: dp[i][k] = max(val, skip).π‘ Event scheduling mastery!.#Java #LeetCode #DP #BinarySearch #300DaysOfCode #ProblemSolving
0
0
1
π
Day 209 β LeetCode #55.π― Can you reach the end of the array?.π§ Tracked max reachable index.βοΈ Early stop if index > farthest.β‘ Classic greedy challenge!.#Java #LeetCode #JumpGame #Greedy #DSA #300DaysOfCode #ProblemSolving
0
0
1
π
Day 208 β LeetCode #45.π― Reach end of array with min jumps.π§ Used greedy traversal.π Jump only when range ends.π‘ Clean, efficient & optimal!.#Java #LeetCode #JumpGameII #Greedy #300DaysOfCode #ProblemSolving #DSA
0
0
1
π LeetCode Problem #44 β Wildcard Matching.Todayβs challenge was all about implementing a pattern matcher with support for two special wildcard characters
0
0
1
π
Day 206 β LeetCode #1394.π― Find the largest value x in array such that x == freq(x).π§ Used a frequency array.β
Checked all possible values.π‘ Simple but powerful logic!.#Java #LeetCode #LuckyInteger #200DaysOfCode #ProblemSolving #DSA
0
0
1
π
Day 205 β LeetCode #3307.π― Remove one duplicate per value to maximize set size.π§ Counted freq using HashMap.β
Smart reduction = bigger set!.#Java #LeetCode #DSA #ProblemSolving #HashMap #200DaysOfCode #Coding
0
0
1
π
Day 204 β LeetCode #3304.π― Score = prefixSum + maxSoFar at each index.π§ Used prefix sum + running max.β
Simple logic, big learning π‘.#Java #LeetCode #PrefixSum #ArrayLogic #200DaysOfCode #ProblemSolving #DSA
0
0
1
π
Day 203 β LeetCode #70.πͺ Climbing Stairs: Ways to reach step n using 1 or 2 steps.π§ DP + Fibonacci pattern.β
Optimized to O(1) space using two variables!.#Java #LeetCode #DynamicProgramming #Fibonacci #300DaysOfCode #ProblemSolving #Coding
0
0
2
π
Day 202 β LeetCode #1498.π― Count subsequences where min + max β€ target.π§ Sorted + two pointers + power of 2.β‘ Used modular exponentiation.Tough but satisfying! π₯.#Java #LeetCode #DSA #200DaysOfCode #ProblemSolving #TwoPointers
0
0
1
π
Day 201 β LeetCode #3330.π’ Find the distinctly most frequent digit in a string.π§ Counted occurrences with array.π Return -1 if there's a tie.Satisfying logic & frequency challenge!.#Java #LeetCode #DSA #200DaysOfCode #ProblemSolving #StringLogic
0
1
2
π
Day 200 β LeetCode #594.π― Longest Harmonious Subsequence.π§ Used HashMap to count & match adjacent values.β
Subsequence with max-min diff = 1.Feeling accomplished hitting 200 days! π₯.#Java #LeetCode #DSA #200DaysOfCode #ProblemSolving #HashMap
0
0
1
π
Day 199 β LeetCode #2200.π Find K-distant indices where nums[j] == key & |i-j| β€ k.π§ Loop + logic + condition.β
Simple but powerful for index filtering!.#Java #LeetCode #DSA #Array #KDistance #ProblemSolving #200DaysOfCode
0
0
2
π
Day 198 β LeetCode #48.π Rotate 2D matrix by 90Β° (in-place).1οΈβ£ Transpose.2οΈβ£ Reverse each row.π‘ Clean, space-efficient trick!.#Java #LeetCode #Matrix #InPlace #DSA #200DaysOfCode #ProblemSolving
1
0
2
π
Day 197 β LeetCode #2081.π Sum of k-Mirror Numbers.π§ Numbers that are palindromes in base 10 and base k.π Used base conversion + palindrome logic.Such a satisfying string + math challenge! π».#Java #LeetCode #Palindrome #BaseConversion #DSA #200DaysOfCode
0
0
1
π
Day 196 β LeetCode #43.βοΈ Multiply Strings (no int conversion).π§ Used manual digit multiplication & carry handling.π’ Simulated how we multiply numbers on paper π―.#Java #LeetCode #MultiplyStrings #StringManipulation #200DaysOfCode
0
0
1
π
Day 195 β LeetCode #29.π’ Divide without using *, / or %.π§ Used bit shifts + repeated subtraction.β
Learned overflow handling & sign logic!.#Java #LeetCode #BitManipulation #DSA #ProblemSolving #200DaysOfCode
0
0
1