Explore tweets tagged as #SubarraySum
#100daysofcoding Day 13. Practiced POTD and maintained streak on Leetcode. Both the questions were easy and did in couple of minutes. On GFG it was classic Gredy and on LC it was of subarraySum. Also practice and learnt new DP concepts
0
0
1
π»β¨ Day 53 of my #GFG160DaysChallenge! π§ Solved the "subarraySum" problem today. One step closer to mastery! πͺ #GFG160 #GeekStreak2025 #GeeksforGeeks #CodeEveryDay #WomenInTech Keep coding, keep growing! π
0
0
5
π Day 56 of #geekstreak2024! Problem: Indexes of Subarray Sum Hint: Use the two-pointer sliding window technique. Keep expanding the window by moving the right pointer, and shrink it from the left when the sum exceeds the target. #gfg161 #SlidingWindow #SubarraySum #DSA
0
0
18
Day 49 of #geekstreak2025 π Solved: Count Subarrays with Sum K π― #gfg160 #100DaysOfCode #SubarraySum #DSA #HashMapMagic
0
0
11
Day10 of #100daysofdsa Solved "Max Circular Subarray sum "on #nationskillup @geeksforgeeks @striver_79 -Applied kadane's algorithm. -found min subarraysum. -substracted them to find the maximum subarray sum Happy codingπ±β¨οΈ
0
1
1
Day [10/160]: π Leveling Up two Problem at a Time π― Making progress in the 160 Days of Problem-Solving Challenge by @geeksforgeeks! π»β¨ π Today's Problem: -Overlapping Intervals - Kadane's Algorithm--Max subarraysum β
Topic Covered: [Array/sorting] #gfg160 #womenintech
0
0
6
π Day 49 of #geekstreak2024! Problem: Subarrays with Sum K Hint: Use a hash map to store prefix sums. For each element, check if (current sum - k) exists in the map and add its frequency to the count. #gfg160 #SubarraySum #Hashing #DSA #DailyCoding
0
0
18
Day 38 of #DSA learning! Solved LeetCode #560: Subarray Sum Equals K Improved from Brute Force (O(n^2)) to Optimal solution using Unordered Map & Prefix Sum Approach which gives (O(n) time & space complexity) #LeetCode
#DSA
#ProblemSolving
#SubarraySum
0
0
1
day 6 of #100dayofcode Today i solved two array problem on leetcode maximum subArraySum and Majority element question .
0
0
1
π Day 45 of the @geeksforgeeks GFG 160 Challengeπ π§βπ» Solved the #SubarraySum problem in #C++! π Used a sliding window technique to efficiently find a subarray with a given sum in O(n) time. #GFG160 #GeekStreak2024 #Coding #100DaysOfCode #CPlusPlus #Algorithms #Tech #potd
1
0
4
π§΅ Day 242 of #geekstreak2025 β
GFG POTD: K-th Largest Sum Contiguous Subarray π§ Brute-forced all subarray sums and used a min-heap (priority queue) to keep track of the top K sums. Space-heavy, but gets the job done! π #dsa #heap #priorityqueue #subarraysum #potd #gfg242
0
0
13
π Day 62 of #gfg160 Solved: βLongest Subarray with Sum Kβ π― Prefix sum + hashmap π§ ββ’ Store first index of each prefix sum ββ’ If (prefix - k) seen β update maxLen π§ Time: O(n), Space: O(n) #DSA #Hashing #SubarraySum #Day62Done
0
0
0
π Day 56 of @geeksforgeeks 160 β Indexes of Subarray Sum β
Solved the problem of finding start and end indexes of a subarray with a given sum. Used prefix sum with hashing for an efficient O(N) solution. Clean and effective! π‘ #geekstreak2025 #gfg160 #SubarraySum #PrefixSum
0
0
8
π’ 3οΈβ£ Subarray Sum Equals K (O(n)) πΉ Use Prefix Sum + HashMap to check (current_sum - k). #SubarraySum #Python
1
0
2
π #Day22 of DSA Journey π Solved Subarray Sum Equals K today! π’ β
Brute force (O(nΒ²)) β Too slow β
Prefix Sum + HashMap (O(n)) β Best approach! @ShradhaKhapra_ @LeetCode
#DSA #Coding #SubarraySum #Algorithms #LeetCode #ProblemSolving #Optimization #Tech
0
0
4
β‘Day-10 of DSA with Apna College! Learning Ladenβs algorithm for maximum subarray sumβpowerful for solving tricky array problems fast. ππ‘ #DSA #ApnaCollege #SubarraySum #Algorithms #LearnToCode
0
0
0
This program splits an array into two halves,calculates the sum of each subarray,and returns the product of these sums. If the array size is odd, the right half gets the extra element. Time complexity is O(n). #Array #SubarraySum #DivideAndConquer #BasicDSA #Java #GeeksForGeeks
0
0
0
π Solving Max SubArraysum Problem by Using Kadane's Algorithm. πTime Complexity : O(n) #letsconnect #buildinpublic #LearnAndGrow #CodingJourney #LearnInPublic
0
0
1
β
Day 54 of #gfg160 #geekstreak2025 Problem: Indexes of Subarray with Given Sum π Used prefix sum + hashmap to track start of valid subarrays π§ Time: O(n) | Space: O(n) @geeksforgeeks #cpp #dsa #prefixsum #hashmap #subarraysum #100daysofcode #gfg160
0
0
3