Lecture 22 | DSA (Strike Course by @rohit_negi9)
Today I learned 2D arrays fundamentals — initialization, value assignment, memory addressing, and matrix transpose. Built clarity on how matrices work internally and in memory.
#DSA#2DArray#Matrix#Cplusplus#DailyLearning
#Day42/180 of my DSA journey. Today I learned and practiced key array and binarysearch concepts
•Binary search in a 2DArray.
•Search in a sorted 2Darray.
•Find missing and repeating element
•Find majority element
#CoderArmy#DSA
🔥 Day 327 of #geekstreak2025
✅ GFG POTD: Maximum Sum Rectangle
🧠 Reduced 2D to 1D using Kadane’s algorithm by fixing left & right column boundaries and compressing rows — classic max submatrix sum trick!
#potd#gfg327#kadane#2darray#dsa#geekstreak2025
🔥 Day 326 of #geekstreak2025
✅ GFG POTD: 2D Difference Array
🧠 Used a 2D prefix-diff matrix to apply range updates in constant time, followed by cumulative row & col sums to build the final matrix.
Smart and efficient!
#potd#gfg326#2darray#prefixsum#dsa#geekstreak2025
Days 15 of #100DaysOfCode
Today I learned some 2d array problems
- Print no of 7's in the 2d array
- Sum of 2nd row
- Print transpose of matrix
#Java#DSA#2dArray
🧵 Day 304 of #geekstreak2025
✅ GFG POTD: Gold Mine Problem
🧠 Used DP from right to left, exploring 3 possible directions
Stored max gold collectable from each cell — built up to the answer!
Dynamic programming done right! ✅
#dsa#dp#2darray#matrix#potd
LeetCode Day 68
1260. Shift 2D Grid
Flatten the 2D grid into 1D, shift each element by k positions using modulo, and rebuild the 2D grid.
🕒 O(m x n) | 💾 O(m x n)
#LeetCode#Java#Matrix#2DArray#100DaysOfCode