Arama Sonuçları: "#ArrayProblems"
20 sonuç
⚡ Daily Coding Problem!
Find duplicates in an array - BUT with O(1) extra space!
Input: [1,2,3,2,4,3,5]
Output: [2,3]
Can you solve it without HashMap? 🧠
Share your approach in comments!
#Algorithms #ArrayProblems #OptimizedCode #JavaCoding
English

LeetCode 2149 – Rearrange Array Elements by Sign
Solved: Rearrange array with alternating+ve and-ve elements
Used two lists to collect positives & negatives
Then merged alternately→O(n) time,O(n) space
Great for understanding order-based array handling!
#LeetCode #ArrayProblems
English

LeetCode 414 – Third Maximum Number
Solved: Find the 3rd distinct max number in the array
Used a set to track unique values
Handled edge case: return max if < 3 distinct numbers
Cleans up logic around max tracking & uniqueness!
#LeetCode #PythonDSA #ArrayProblems
English

LeetCode 905 – Sort Array By Parity
Solved: Sort array so even numbers come before odds
Used two-pointer approach to build new array
Also tried in-place method using swaps
Great for strengthening conditional + pointer logic!
#LeetCode #PythonDSA #ArrayProblems
English

LeetCode 941 – Valid Mountain Array
Solved: Check if the array forms a valid mountain shape
Strictly increasing, then strictly decreasing
Used two-pointer climb + descent logic
Edge cases = key here
Great mix of condition checks & pointer flow!
#LeetCode #PythonDSA #ArrayProblems
English

LeetCode 1089 – Duplicate Zeros
Solved: Duplicate each zero in the array in-place, shifting elements right
Used two passes:
Count how many zeros can be duplicated
Fill from the back using reverse two-pointer
Great for tricky in-place logic!
#LeetCode #PythonDSA #ArrayProblems
English

LeetCode 1295 – Find Numbers with Even Number of Digits
Solved: Count how many numbers in the array have even digits
Used len(str(num)) % 2 == 0 to check digit count
Clean loop, simple condition — perfect warm-up!
#LeetCode #PythonDSA #ArrayProblems
English

🚀 #GFG160 – Day 106: Unique Number II 🧠⚡
Today’s challenge was a step up — finding two unique numbers where all others appear twice.
✔️ Unique Number II
#ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

2. Arrays & Strings 🧵
“Easy problems”
→ Take 2 hours.
→ Fail 5 test cases.
→ Off-by-one error strikes again.
#DSA #ArrayProblems #TechTwitter
English

🚀 #GFG160 – Day 96: Market Moves Mastered! 📈
Solved the Stock Span Problem today — used a monotonic stack to efficiently calculate consecutive days with lower stock prices!
✔️ Stock Span Problem
#ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

🚀 Solving Array Problems in Python 🧠
Q1: Second Largest Element
Given an array, return the second largest element, or -1 if it doesn't exist.
#Python #ArrayProblems #Coding
English

Raise your hand if an OutOfBoundsException has ever made you question reality 🙋♂️. It happens to the best of us! Discover how to debug, catch, and control these pesky errors, Xojo-style:
documentation.xojo.com/api/exceptions…
#DevLife #Xojo #ArrayProblems #Programming

English

Day 52 of #gfg160 ✅
Solved "Count Pairs with Sum < Target"
Used sorting + two pointers to count valid pairs efficiently.
#TwoPointers #ArrayProblems #geekstreak2025 #CodeEveryday


English

🚀 #GFG160 – Day 43: Streak Finder Activated! 🔥📈
Solved the Longest Consecutive Subsequence problem today
✔️ Longest Consecutive Subsequence
#ArrayProblems #StreakLogic #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

🚀 #GFG160 – Day 41: Intersection with Duplicates! 🔁➕
Solved the Intersection of Two Arrays with Duplicate Elements problem today
✔️ Intersection of Two Arrays with Duplicates
#Hashing #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

🚀 #GFG160 – Day 39: Counting the Perfect Pairs! 🔢
Solved the Count Pairs with Given Sum problem today — efficient hashing made it a breeze!
✔️ Count Pairs with Given Sum
#HashMap #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

🚀 #GFG160 – Day 33: Rotating the Grid! 🔁📐
Solved the Rotate Matrix by 90 Degrees problem today — nailed it with in-place transformation and transposition!
✔️ Rotate by 90 Degrees
#MatrixManipulation #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English

🚀 #GFG160 – Day 27: Finding the Peak! ⛰️🔍
Solved the Peak Element problem today – where the element is greater than its neighbors!
✔️ Peak Element
#BinarySearch #ArrayProblems #GeeksforGeeks #100DaysOfCode #geekstreak2025
@geeksforgeeks

English


