
Mohit
@nocapmohitcodes
Followers
12
Following
134
Media
48
Statuses
65
π Quick update:.Our team just won the Hackathon at the Rabbitt AI Hiring Show! π.Grateful for the experience, the learning, and the win. Onwards and upwards! π₯.#Hackathon #AI #RabbittAI #TechWins #HiringShowttt.
0
0
3
π
Day 46 (July 8, 2025):.Skipped yesterday β was caught up in a project (@msdhoni b'day too π, jk HBD). Solved Count Subarrays with Sum = k β.Brute O(nΒ²) β optimized to O(n) using prefix sum + hashing. Clean & efficient β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
1
π
Day 45 (July 6, 2025):.Solved Longest Consecutive Sequence π’.Used hashing for O(n) TC β skipped sorting. Key trick: only start counting when the current element begins a new sequence. Simple yet powerful logic β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
5
π
Day 44 (July 5, 2025):.Solved Merge Two Sorted Arrays (No Extra Space) π.Tried merge sort first, but it uses extra space. Then learned the optimal pointer approach using up to min(m, n) iterations β clean and efficient π‘.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
2
π
Day 43 (July 4, 2025):.Solved Maximum Product Subarray βοΈ.Used a clean O(n) approach with prefix & suffix scans to track the max product. One of those tricky subarray problems where handling negatives is the real challenge!.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
5
π
Day 42 (July 3, 2025):.Solved Reverse Pairs π.Knew from inversion that merge sort could help β tried adapting it. Dry run showed flaws, so learned the trick and used a two-pointer helper. Merge sort keeps proving its worth π‘.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
3
π― Just crossed 100 problems solved!.This has been a solid grind through fundamentals. Now itβs time to level up β the core DSA part begins from here. Letβs keep the streak alive and the learning sharp π.#DSA #100DaysOfCode #MilestoneUnlocked.
0
0
4
π
Day 41 (July 2, 2025):.Solved Count Inversions π.Tried a two-pointer idea first, then learned itβs best solved using Merge Sort β surprising how a sorting algo helps count such patterns!.Another divide-and-conquer win π‘.#DSA #100DaysOfCode.@striver_79 @takeUforward_
1
0
5
π
Day 40 (July 1, 2025):.Solved Find Missing & Repeating Number π.Tried 2 ways:.β’ Sorting and then Sum vs expected sum.β’ Then used linear equations with sum & sum of squares to solve it. A good mix of math and logic β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
4
π
Day 39 (June 30, 2025):.Solved Majority Element β II π§ .Skipped brute-force. Used hashmap first, then applied logic from Mooreβs Voting Algo β at most 2 elements can appear > n/3. Implemented & verified by counting occurrences β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
7
π Was really amazed by the thought process behind Mooreβs Voting Algorithm β it can find the majority element in just linear time, if it exists!.The core idea: a true majority can never have its count reduced to zero. Brilliant and elegant β¨.#DSA #100DaysOfCode.
0
0
3
Solved Majority Element β I β
.Skipped brute-force (O(nΒ²)), used hashmap for O(n) TC & SC. Then tried sorting + two pointers (O(n log n)). Finally learned the elegant Mooreβs Voting Algorithm β no extra space & linear time π‘.#DSA #100DaysOfCode.@striver_79 @takeUforward_
1
0
3
π
Day 37 (June 28, 2025):.Solved Next Permutation π.Yet to try brute-force (will do during recursion). Had a rough idea of optimal, learned the algo and coded it (O(3n)). Tweaked it a bit after checking solutions β worked β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
4
@striver_79 @takeUforward_ π Just a thought β while solving Kadaneβs, I noticed something deeper. To find the maximum sum, the algorithm drops everything once the sum turns negative. Maybe life works the same way β to get the best of it, we focus on the positives. β¨.#DSA #LifeLessons.
0
0
3
π
Day 36 (June 27, 2025):.Solved Kadaneβs Algorithm β max subarray sum π₯.Itβs wild how something so simple can look so complex at first. Was absolutely puzzled, then amazed by the elegance of the solution. A classic for a reason!π₯.#DSA #100DaysOfCode.@striver_79 @takeUforward_
1
0
4
π
Day 35 (June 26, 2025):.Solved the classic Sort 0s, 1s & 2s π₯π¨π¦.Initially tried i-j pointers but hit O(nΒ²) due to faulty while loop. Then learned the proper low-mid-high 3-pointer approach β clean, efficient, and in-place β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
1
0
5
π
Day 34 (June 25, 2025):.Solved 4 Sum π’.Skipped brute-force (O(nβ΄)). Used two-pointer with two fixed elements β same O(nΒ³) as hashing but no extra space. The patternβs clicking better now β building on 3 Sum logic π‘.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
4
π
Day 33 (June 24, 2025):.Solved 3 Sum π‘.Brute-force (O(nΒ³)) was out. Tried hashing +ve/-ve pairs β got stuck. Learned how a properly set two-pointer on a sorted array simplifies it a lot. Clean & efficient once the setup clicks β
.#DSA #100DaysOfCode.@striver_79 @takeUforward_
0
0
5
π Noticed Iβve mostly been solving just one problem a day lately. While consistency matters, Iβll try to devote more focused time from tomorrow and increase the pace. Need to be more disciplined on this path πͺ.#100DaysOfCode #DSA.
0
0
4