#binarysearch 搜尋結果
Day 7/100 of #100DaysOfCode challenge is complete! Focused on revision and mastering tough binary search problems today. The Book Allocation problem was a great challenge but managed to do it. Step by step, we get better. #DSA #BinarySearch #rohitnegi #gfg #LearnInPublic




Day 56/100 ✅ Solved 3 Binary Search on Answer problems (1 Hard, 2 Medium) 🌐 Completed my Portfolio Website 📘 Studied Maths On the grind, one step closer each day! 💪🚀 #DSA #LeetCode #BinarySearch #WebDev #Portfolio #Maths #100DaysOfCode #CodingJourney

Crushed 3 tough binary search problems today from CoderArmy's YouTube channel! Big thanks to DSA GOD Rohit Negi bhaiya for the awesome lecture 🙌 Also nailed 1 homework question. Feeling on top of the world! 💻 #CodingJourney #DSA #BinarySearch #CoderArmy


Solved Find Peak Element using 2 approaches: 1️⃣ Linear Search – O(n) 2️⃣ Binary Search – O(log n) Binary search finds the peak faster by using the slope pattern 📈📉 #DSA #Java #BinarySearch #Algorithms #coding #InterviewPrep



Day 19 of my DSA Journey 📚 Learned Binary Search 🔍 Divide → Check → Conquer. Finding elements faster than ever ⚡ #DSA #100DaysOfCode #BinarySearch



Problems on leetcode 1.1482 Mini number of Days to make m Bouquets 2.875 koko Eating Bananas These two problems are too good if you guys are learning #Binarysearch then must solve these two As I am not able to solve these two by myself But after brute forceable to optimise BS

#Day98 Solved: Valid Perfect Square🔢 📌Task: Given an integer check if it’s a perfect square ⚡Approach: Binary Search Search range→[1, num/2] Mid² == num→✅Perfect Square Avoid overflow using long 🕒TC: O(log n) 📦SC: O(1) #LeetCode #BinarySearch #Java #100DaysOfCode #DSA
![singh_jayraj_05's tweet image. #Day98
Solved: Valid Perfect Square🔢
📌Task: Given an integer check if it’s a perfect square
⚡Approach: Binary Search
Search range→[1, num/2]
Mid² == num→✅Perfect Square
Avoid overflow using long
🕒TC: O(log n)
📦SC: O(1)
#LeetCode #BinarySearch #Java #100DaysOfCode #DSA](https://pbs.twimg.com/media/G01EtUyaUAA515K.jpg)
Solved “Find Minimum in Sorted Rotated Array” on @LeetCode! 🔥 ✅ Approach: Binary Search 1️⃣ Compare mid with low 2️⃣ Shrink search space 3️⃣ Track min on the go ⚡ Complexity: O(log n) Time, O(1) Space #DSA #LeetCode #BinarySearch #Java #CodeNewbie #CodingJourney


Day 33 Reached to 52 problems on leetcode Following @striver_79 's DSA sheet Solved Problem - Median of Two Sorted Arrays of different sizes @striver_79 @takeUforward_ #leetcode #binarysearch #coding #DSA

🚀 Day 27 | #DSA Journey ✨ Learned Binary Search 🔍 ✅ Works on sorted arrays ✅ Halves search space ➗ ✅ O(log n) time, O(1) space 💡 Divide & Conquer >> Linear Search. Solved a LeetCode Q 🙌 #100DaysOfCode #BinarySearch

🖌️ Painter’s Partition Problem (similar to Book Allocation) solved today! This problem sharpened my skills in Binary Search on Answer + Greedy Checking. Feeling more confident with these classic allocation problems 💡 #DSA #BinarySearch #CodingJourney #100DaysOfCode #day44


→Cracked the banana-eating speed problem! •Used binary search to find the minimum speed Koko needs to finish all piles in H hours. ⏱️ Runtime: 7 ms 💾 Memory: 45.29 MB •Beats 86.11% of submissions — not bad for a weekend grind #Java #LeetCode #BinarySearch #DSA #buildinpublic

Day 16/100 - #100DaysOfDSA 🚀 Problem: Allocate Books 📚 🎯 Goal → Minimize the max time spent studying in a day while reading chapters in sequence within N days. #DSA #BinarySearch #ProblemSolving #CPP #CodingChallenge #TechTwitter

#Day70 Solved Search a 2D Matrix🔎 👉 Trick: Treat the matrix as a sorted 1D array. 👉 Map mid index back to row & col using: row = mid / n col = mid % n 👉 Apply classic Binary Search ✅ ⏱️ TC: O(log(m*n)) 💾 SC: O(1) #LeetCode #BinarySearch #DSA #CodingJourney #Java #Trending

Day 48 of DSA🚀 Solved LeetCode #852: Peak Index in a Mountain Array using Binary Search 🏔️ 🔑 Approach: Use two pointers l & r. If arr[m+1] > arr[m] → move right. Else → move left. Converge at peak index. ⏱ O(log n) | 💾 O(1) #LeetCode #DSA #BinarySearch #CodingJourney
![Zaryab_005's tweet image. Day 48 of DSA🚀
Solved LeetCode #852: Peak Index in a Mountain Array using Binary Search 🏔️
🔑 Approach:
Use two pointers l & r.
If arr[m+1] > arr[m] → move right.
Else → move left.
Converge at peak index.
⏱ O(log n) | 💾 O(1)
#LeetCode #DSA #BinarySearch #CodingJourney](https://pbs.twimg.com/media/G2gZfhfW8AAgBb7.jpg)
Day 147 DSA: Sqrt Nth Root of Number Koko Eating Bananas Minimum Days to Make M Bouquets 🌸 Smallest Divisor ⚙️ #100DaysOfCode #DSA #BinarySearch



Day 145 DSA (Binary Search - Easy): Upper & Lower Bound, Search Insert Position, Floor & Ceil, First & Last Occurrences 🔍 #100DaysOfCode #DSA #BinarySearch


Day 17 of my #DSA Journey ✅ Explored Search in Rotated Sorted Array (Leetcode 33) 🔄 Binary Search… but with a twist! Learned how to find elements even when arrays are rotated — still in O(log n)! ⚡ #DSA #BinarySearch #CodingJourney #Leetcode


🧠 LeetCode — 3186. Maximum Total Damage With Spell Casting ⏱️ Solved in: ⌛ 16.39 mins 💡 Approach: DP + Binary Search ⏳ Time Complexity: O(n log n) 💾 Space Complexity: O(n) 📅Date :- 11/10/2025 #LeetCode #DynamicProgramming #BinarySearch #POTD #DSA #Coding #100DaysOfCode

🚨Learn Binary Search Algorithm. Understand step by step in thoery + code. Also learn the formula derivation for finding out iterations according to array size. Link: youtube.com/watch?v=UuoUiR… #binarysearch #DSA #coding #algorithms
youtube.com
YouTube
Binary Search Explained Step-by-Step | Iterative + Lower Bound Binary...
Day 16 of my #DSA Journey ✅ Explored Binary Search Algorithm — smart, efficient & elegant! Covered real-life uses, iterative & recursive code, dry run, and time complexity. Divide, conquer, and search faster! 🔍⚡ #CodingJourney #BinarySearch #DSA



🚀 Day 17/100 – Java DSA Challenge Solved LeetCode 704: Binary Search today 🔍 Learned how to efficiently find elements in a sorted array using the divide-and-conquer approach. ⏱ Time Complexity: O(log n) 💾 Space Complexity: O(1) #Java #DSA #BinarySearch #LeetCode

📘 LeetCode 75 — Day 10 (Binary Search II) Problem: 2300. Successful Pairs of Spells and Potions Each spell s and potion p form a successful pair if s * p >= success. Find how many potions form successful pairs for every spell. #LeetCode75 #BinarySearch #Java #100DaysOfCode


🧙 LeetCode Daily: Successful Pairs of Spells and Potions ✅ Sort potions + binary search for each spell! Find threshold, count remaining potions. ⚡ O(n log m) beats brute force 🎯 First valid index = answer 💡 Watch for integer overflow! #LeetCode #CPlusPlus #BinarySearch

#Leetcode 2300, Successful pairs of spells and potions. Sorting the potions array, then using the built-in Lodash's _.sortedIndex for binary searching the first index I can achieve the success variable. Then returning the ans array I filled along the way. #JS #BinarySearch #Array

🔥 Day 35 of daily coding streak! Used the hint — “If a spell-potion pair works, all stronger potions will too.” Applied binary search on this insight, and boom 💥 — problem solved! 🚀 #100DaysOfCode #LeetCode #BinarySearch #DSA #CodingJourney

Crushed 3 tough binary search problems today from CoderArmy's YouTube channel! Big thanks to DSA GOD Rohit Negi bhaiya for the awesome lecture 🙌 Also nailed 1 homework question. Feeling on top of the world! 💻 #CodingJourney #DSA #BinarySearch #CoderArmy


Day 26 ✅ Solved Find Peak Element ⛰️ ⚡ Runtime: 0 ms | 💾 42.22 MB Used #BinarySearch to shrink O(n) → O(log n) and find the peak efficiently 🚀 Q: [leetcode.com/problems/find-…] Sol: [github.com/PriyabrataRoy/…] #100DaysOfCode #Java #DSA #Coding #LearnInPublic
![Priyo8298966333's tweet image. Day 26 ✅
Solved Find Peak Element ⛰️
⚡ Runtime: 0 ms | 💾 42.22 MB
Used #BinarySearch to shrink O(n) → O(log n) and find the peak efficiently 🚀
Q: [leetcode.com/problems/find-…]
Sol: [github.com/PriyabrataRoy/…]
#100DaysOfCode #Java #DSA #Coding #LearnInPublic](https://pbs.twimg.com/media/G2u-KsYWEAA9jCz.jpg)
📘 LeetCode 75 — Day 9 (Binary Search) Problem: 162. Find Peak Element Find an index i such that nums[i] is greater than its neighbors. #LeetCode75 #BinarySearch #Java
Solved Find Peak Element using 2 approaches: 1️⃣ Linear Search – O(n) 2️⃣ Binary Search – O(log n) Binary search finds the peak faster by using the slope pattern 📈📉 #DSA #Java #BinarySearch #Algorithms #coding #InterviewPrep



Day 56/100 ✅ Solved 3 Binary Search on Answer problems (1 Hard, 2 Medium) 🌐 Completed my Portfolio Website 📘 Studied Maths On the grind, one step closer each day! 💪🚀 #DSA #LeetCode #BinarySearch #WebDev #Portfolio #Maths #100DaysOfCode #CodingJourney

Day 7/100 of #100DaysOfCode challenge is complete! Focused on revision and mastering tough binary search problems today. The Book Allocation problem was a great challenge but managed to do it. Step by step, we get better. #DSA #BinarySearch #rohitnegi #gfg #LearnInPublic




Day 40✅ | #gfg160 Challenge @geeksforgeeks Solved → 🔍 Search in a Sorted Matrix 📌 T: O(log(N×M)) | S: O(1) Used virtual binary search on a 2D matrix by treating it as a flat 1D array. → Alt. #DSA #BinarySearch #MatrixSearch #gfg160 #geekstreak2025 #LearnInPublic

#Day98 Solved: Valid Perfect Square🔢 📌Task: Given an integer check if it’s a perfect square ⚡Approach: Binary Search Search range→[1, num/2] Mid² == num→✅Perfect Square Avoid overflow using long 🕒TC: O(log n) 📦SC: O(1) #LeetCode #BinarySearch #Java #100DaysOfCode #DSA
![singh_jayraj_05's tweet image. #Day98
Solved: Valid Perfect Square🔢
📌Task: Given an integer check if it’s a perfect square
⚡Approach: Binary Search
Search range→[1, num/2]
Mid² == num→✅Perfect Square
Avoid overflow using long
🕒TC: O(log n)
📦SC: O(1)
#LeetCode #BinarySearch #Java #100DaysOfCode #DSA](https://pbs.twimg.com/media/G01EtUyaUAA515K.jpg)
Day 34 ✅ | #gfg160 Challenge @geeksforgeeks Solved → 📚 Allocate Minimum Pages 📌 T: O(N * log(Sum of Pages)) | S: O(1) Used binary search on the answer space to find the min-max pages per student, with greedy allocation. #DSA #BinarySearch #Greedy #geekstreak2025

Day 39 ✅ | #gfg160 Challenge @geeksforgeeks Solved → 🎯 Search in a Row-wise Sorted Matrix 📌 T: O(N log M) | S: O(1) 🛠️ Used Binary Search in Rows → Checked if x can be in a row, then applied binary search inside that row. #DSA #BinarySearch #Matrix #geekstreak2025

Solved “Find Minimum in Sorted Rotated Array” on @LeetCode! 🔥 ✅ Approach: Binary Search 1️⃣ Compare mid with low 2️⃣ Shrink search space 3️⃣ Track min on the go ⚡ Complexity: O(log n) Time, O(1) Space #DSA #LeetCode #BinarySearch #Java #CodeNewbie #CodingJourney


Day 16/100 - #100DaysOfDSA 🚀 Problem: Allocate Books 📚 🎯 Goal → Minimize the max time spent studying in a day while reading chapters in sequence within N days. #DSA #BinarySearch #ProblemSolving #CPP #CodingChallenge #TechTwitter

🚀 Day 27 | #DSA Journey ✨ Learned Binary Search 🔍 ✅ Works on sorted arrays ✅ Halves search space ➗ ✅ O(log n) time, O(1) space 💡 Divide & Conquer >> Linear Search. Solved a LeetCode Q 🙌 #100DaysOfCode #BinarySearch

Crushed 3 tough binary search problems today from CoderArmy's YouTube channel! Big thanks to DSA GOD Rohit Negi bhaiya for the awesome lecture 🙌 Also nailed 1 homework question. Feeling on top of the world! 💻 #CodingJourney #DSA #BinarySearch #CoderArmy


Day 28 ✅ | #gfg160 Challenge Solved → Number of Occurrence 🔍 Started with brute force, then optimized using Binary Search with lower_bound() & upper_bound() for efficient counting in a sorted array. 📌T: O(log N) | S: O(1) #DSA #BinarySearch #geekstreak2025 @geeksforgeeks


Day 33 Reached to 52 problems on leetcode Following @striver_79 's DSA sheet Solved Problem - Median of Two Sorted Arrays of different sizes @striver_79 @takeUforward_ #leetcode #binarysearch #coding #DSA

Problems on leetcode 1.1482 Mini number of Days to make m Bouquets 2.875 koko Eating Bananas These two problems are too good if you guys are learning #Binarysearch then must solve these two As I am not able to solve these two by myself But after brute forceable to optimise BS

#Day70 Solved Search a 2D Matrix🔎 👉 Trick: Treat the matrix as a sorted 1D array. 👉 Map mid index back to row & col using: row = mid / n col = mid % n 👉 Apply classic Binary Search ✅ ⏱️ TC: O(log(m*n)) 💾 SC: O(1) #LeetCode #BinarySearch #DSA #CodingJourney #Java #Trending

→Cracked the banana-eating speed problem! •Used binary search to find the minimum speed Koko needs to finish all piles in H hours. ⏱️ Runtime: 7 ms 💾 Memory: 45.29 MB •Beats 86.11% of submissions — not bad for a weekend grind #Java #LeetCode #BinarySearch #DSA #buildinpublic

🖌️ Painter’s Partition Problem (similar to Book Allocation) solved today! This problem sharpened my skills in Binary Search on Answer + Greedy Checking. Feeling more confident with these classic allocation problems 💡 #DSA #BinarySearch #CodingJourney #100DaysOfCode #day44


Something went wrong.
Something went wrong.
United States Trends
- 1. Jets 101K posts
- 2. Justin Fields 18.9K posts
- 3. Broncos 42.2K posts
- 4. Aaron Glenn 7,745 posts
- 5. Drake Maye 6,240 posts
- 6. George Pickens 2,522 posts
- 7. London 208K posts
- 8. Sean Payton 3,503 posts
- 9. Tyler Warren 1,879 posts
- 10. Jerry Jeudy N/A
- 11. Garrett Wilson 4,673 posts
- 12. Bo Nix 4,703 posts
- 13. Cooper Rush N/A
- 14. Steelers 27.6K posts
- 15. #Pandu N/A
- 16. Pop Douglas 1,429 posts
- 17. Karty 1,528 posts
- 18. #HardRockBet 3,627 posts
- 19. Tyrod 2,578 posts
- 20. #Patriots 2,406 posts