Anchal Gupta (@AnchalGupta009) header
Anchal Gupta (@AnchalGupta009) profile picture

ECE’27 MERN Stack + DSA Building • Coding • Learning

Joined April 2025
Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)Photo by Anchal Gupta (@AnchalGupta009)
Done with 7th sem and it's finally time to leave my hostel room. Only my internship will decide if I'm going to stay in this room for the next 6 months or not.
43
2
367
10,360
Day 15: Minimum Positive Sum Subarray 🎯 Approach: Brute Force + Prefix Sum Explore subarrays → Check length & positive sum → Track minimum. Time: O(n²) #LeetCode #CPP #DSA #ProblemSolving
10
162
Day 14: Count Non-Decreasing Subarrays After K Operations 🎯 Approach: Sliding Window + Monotonic Stack Today I learned how to combine monotonic stacks with sliding windows to efficiently handle range operations and maintain a valid window. #LeetCode #CPP #DSA #ProblemSolving
7
146
Day 13: Longest Strictly Increasing or Strictly Decreasing Subarray 🎯 Approach: Greedy + Single Pass Track increasing & decreasing lengths → Update maximum. #LeetCode #CPP #DSA #ProblemSolving
1
1
16
270
keep going i visited knapsack ,dp on grids,subsequences today
1
1
14
Day 12: Minimum Cost to Acquire Required Items 🎯 ⚙️ Approach: Greedy Compare individual vs. combined costs → Choose the cheapest combination. 💡 Takeaway: Buying extra items can sometimes reduce the overall cost. ⏳ Time: O(1) #LeetCode #CPP #DSA #ProblemSolving
9
206
Day 11: Climbing Stairs II 🎯 Approach: Dynamic Programming Try jumps of 1, 2 or 3 steps → Track minimum cost at each step. Time: O(n) #LeetCode #CPP #DSA #ProblemSolving
1
4
183
From countless late-night coding sessions, endless DSA problems, seniors' guidance, teachers' support, & God's blessings to finally making it to @amazon as an SDE-1 Intern! 🚀 Grateful for everyone who made this journey special. This is just the beginning! #Amazon #SDE1 #placed
43
131
2,603
Congratulations girl!👏👏
1
2
45
Day 10: Process Tasks Using Servers 🎯 Approach: Two Heaps + Greedy Track available servers → Assign the lowest-weight server → Manage busy servers by finish time. Time: O((n + m) log n) #LeetCode #CPP #DSA #ProblemSolving
10
322
It all started with my 4gb ram 256gb Hard drive Pc and Dev c++ At the age of 17 Cut to today I got my first Macbook 😭🫶🏻 17 year old Palak would have cried for this. And I am glad that the little girl got what she always wanted and never lost her hope that she can fix every thing and the universe always works in her favour 🫶🏻 Probably the best decision was trusting myself that I can do anything despite of being an average student from a small town. I am so Happy. Trust your self because everything will make sense one day...
87
5
1
330
6,741
Congrats sweettiiee!💕
1
19
Day 9: Count Zero Request Servers 🎯 Approach: Sorting + Sliding Window Sort logs → Process query intervals → Count inactive servers. Takeaway: Sliding windows help efficiently answer range-based queries. #LeetCode #CPP #DSA #ProblemSolving
1
1
16
353
Day 7: Find the Distance Value Between Two Arrays 🎯 Compare each element → Check the distance condition → Count valid elements. Time: O(m × n) #LeetCode #CPP #DSA #ProblemSolving
1
21
323
Day 6: Minimum Moves to Equal Array Elements III 🎯 ⚙️ Approach: Greedy Find the maximum → Make every element equal to it. Takeaway: The maximum element gives the optimal target. ⏳ Time: O(n) GitHub: github.com/anchal-dev/Leetco… #LeetCode #CPP #DSA #ProblemSolving
1
16
401
day 6 done! keep the streak going anchal 💪
1
1
13
Day 5: Minimum Moves to Equal Array Elements II 🎯 ⚙️ Approach: Sorting + Median Find the median → Calculate absolute differences. Takeaway: Median minimizes total absolute differences. Time: O(n log n) GitHub: github.com/anchal-dev/Leetco… #LeetCode #CPP #DSA #ProblemSolving
1
14
366
Day 4: Today's LeetCode Daily: 453. Minimum Moves to Equal Array Elements. Today's takeaway: Sometimes, thinking in reverse makes a problem much easier. Instead of incrementing n-1 elements, think of decrementing one element. #LeetCode #DSA
3
16
465
Keep going
1
1
21