Posts with #binarysearch

#binarysearch

Public posts on X that use #binarysearch.

Related hashtags

  1. Code_Nik@Nik_Coding10
    Watched Argentina play ⚽, got motivated to push my limits too. Solved LeetCode 410 today. The hardest part wasn't coding—it was finding the right Binary Search approach. Good morning & keep grinding! #leetcode #dsa #binarysearch #cpp #coding
    Download
    3017319
  2. Jeet Kumar Dash@JeetKumarD35856
    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
    Download
    1112285
  3. Pauline Vos✓@vanamerongen
    Had to do it. #binarysearch #git #bisect P.S. I am 0% Italian
    Download
    Massimo @Rainmaker1973
    How many spaghetti do you need to lift a suitcase? [📹 johnnybranco_]
    12199426.9K
  4. Massimo✓@Rainmaker1973
    How many spaghetti do you need to lift a suitcase? [📹 johnnybranco_]
    Download
    80761212.6K15.5M
  5. Christian@cbmonx
    #100DaysOfCode Day 9 As most of you know, algorithms can get very hard and is quite a large topic, so I took it upon myself today outside of class to learn more about #algorithms There are tons of known algorithms. This one in particular is called the #binarysearch. - In a nutshell, we have two parameters: x and y. - x takes in the sorted numbers array, while y is the number we want to find. - s is the start of the search point, e is the end of the search point, (range) and m is the midpoint. - The algorithm begins the search from the midpoint (m = Math.floor((s + e) / 2);) and searches through the left or right portions of the array to find a match according to the logic from where the search should begin. - If no match is not found, it will return false. I am using jest to test the algorithm as followed: test('binarySearch should return true', () => { let testArray = [1, 2, 3, 4, 5, 6, 7, 8, 9] expect(b(testArray, 7)).toEqual(true) }) test('binarySearch should return false because 5643 is not in the array', () => { let testArray = [1, 2, 3, 4, 5, 6, 7, 8, 9] expect(b(testArray, 5643)).toEqual(false) }) Additionally, I have started watching a YouTube algorithms series and looking forward to dive deeper into complex algorithms. #100Devs #computerscience #javascript
    Download
    2025906
  6. Xingᯓ★@xingShan40008
    Pattern: Binary Search 🔍 74. Search a 2D Matrix -> O(log(m × n)) 162. Find Peak Element -> O(log n) Binary Search isn't just about searching a number. It's about searching for the right direction. 🧠 #DSA #BinarySearch #CodingJourney
    Download
    2016201
  7. Anshul Gupta@AnshulBuildss
    🚀Day 33 – #100DaysOfDSA |Binary Search 🔹Solved 6 problems (Easy → Medium) 🔹Practiced Peak Element,Rotated Arrays,Search Range,Missing Numbers 🔹Explored HashMap concepts Attended AI Impact Summit today -but coding stays non-negotiable.🔥 #BinarySearch #DSA #AI #BuildInPublic
    Download
    7026301
  8. Show more posts