Devin's Blog

Home

❯

Coding

❯

Guess Number Higher or Lower

Guess Number Higher or Lower

Feb 26, 20231 min read

  • idea

Info

Your middle happens to be the same thing as the position of the array, and thereby you can do binary search only using the middle instead.


References

https://leetcode.com/problems/guess-number-higher-or-lower/


Graph View

Created with Quartz v4.5.0 © 2026

  • GitHub
  • Discord Community