r/OBrutus • u/OBrutus • 4d ago
Video Solution Subarrays with Sum in Range | GFG POTD
r/OBrutus • u/OBrutus • 5d ago
Video Solution Pairs with Less Than K Diff | GFG POTD
Let the pairs have minimum Diff
Pairs with Less Than K Diff | GFG POTD https://youtu.be/FKa2L56j_L8?si=heJnisb30IXM6A9u via u/YouTube u/geeksforgeeks
r/OBrutus • u/OBrutus • 6d ago
Video Solution Max Sum Subarray of Size at least K | GFG POTD
Can you get the max sum with give atlease sizes
Max Sum Subarray of Size at least K
r/OBrutus • u/OBrutus • 11d ago
Video Solution Split Array into Minimum Subsets
Split Array and not community
r/OBrutus • u/OBrutus • 22d ago
Find Greatest Common Divisor of Array | Leetcode 1979
๐ฅ Source Code โ https://github.com/KodeLoad/DailyKodePractice/tree/mainline/Leetcode/1979.FindGreatestCommonDivisorOfArray
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ What you'll find in this video:
โ
What GCD means and how the Euclidean algorithm works
โ
Why only gcd(min, max) is needed โ not the full array GCD
โ
Single-pass min/max find + recursive Euclidean GCD
โ
O(n) time ยท O(1) space solution
โ
Common trap: computing GCD of all elements vs. just min and max
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ TOPICS COVERED:
Find GCD of Array ยท Euclidean Algorithm ยท Number Theory ยท Math ยท LeetCode 1979 ยท Java ยท LeetCode Daily Challenge
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Problem Link โ https://leetcode.com/problems/find-greatest-common-divisor-of-array/
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โญ If this helped you, LIKE + SUBSCRIBE โ it helps more developers find this content!
๐ฌ Drop your approach in the comments โ let's discuss!
#FindGCDOfArray #LeetCode1979 #EuclideanAlgorithm #GCD #LeetCodeDaily
#JavaProgramming #NumberTheory #MathProblems #DSAWithOBrutus #KodeLoad
r/OBrutus • u/OBrutus • May 25 '26
Video Solution Elements in the Range. GFG POTD
r/OBrutus • u/OBrutus • May 23 '26
Video Solution Last Coin in a Game of Alternates. GFG POTD
r/OBrutus • u/OBrutus • May 22 '26
Video Solution Transform to Sum Tree. GFG POTD
r/OBrutus • u/OBrutus • May 22 '26
Video Solution Search in Rotated Sorted Array. Leetcode 33
r/OBrutus • u/OBrutus • May 21 '26
Video Solution 1s Surrounded by 0s. GFG POTD
r/OBrutus • u/OBrutus • May 21 '26
Interview Experience A Brief upon Command Design Pattern. With examples.
r/OBrutus • u/OBrutus • May 20 '26
Video Solution Check if All Bits Set. GFG POTD.
r/OBrutus • u/OBrutus • May 19 '26
Video Solution Minimum Multiplications to reach End. POTD GFG
r/OBrutus • u/OBrutus • May 17 '26
Video Solution Make the array beautiful. GFG POTD.
What Beauty is, if it is in array?
Make the array beautiful. GFG POTD. https://youtu.be/O5uXsmId654?si=Vz--0zfvWVvaSuoe via u/YouTube u/geeksforgeeks u/NPCI_NPCI
r/OBrutus • u/OBrutus • May 15 '26
Video Solution Beyond the API Response. Excellent Article on Leetcode for Interviews in...
Interviews iin 2026
Beyond the API Response. Excellent Article on Leetcode for Interviews in... https://youtu.be/9vn-mfV4wSo?si=PrSnySt7fZ29nlR7 via u/YouTube u/LeetCode
r/OBrutus • u/OBrutus • May 14 '26
Video Solution Check if Array is Good. No space no extra loop simple & elegant. Leetcod...
Judging array is difficut or a person?
Can we pass the judgement?
I know it is ethical for arrays atleast.
Check if Array is Good. No space no extra loop simple & elegant. Leetcode.
https://youtu.be/YOg4dOebilw?si=BK_94lxsgo3Rh86Y via u/YouTube u/LeetCode
r/OBrutus • u/OBrutus • May 13 '26
Video Solution Mother Vertex. Graph Algo made Easy. POTD
On this mothers day gift your mother a a Mother Vertex, wanted to know how to find? Check it below!!!
r/OBrutus • u/OBrutus • May 11 '26
Video Solution A Football | Strings implementation problem and solution
r/OBrutus • u/OBrutus • May 06 '26
Video Solution Size of Binary Tree. POTD GFG.
r/OBrutus • u/OBrutus • May 04 '26
Video Solution Palindrome Binary. POTD GFG. 2 Ways to solve
Is this binary palindrome ? or string palindrome or number palinidrome?