Claim Missing Document
Check
Articles

Found 1 Documents
Search

Binary search algorithm for natural number targets Senad Orhani
Journal Basic Science and Technology Vol 11 No 3 (2022): October: Basic Science and Technology
Publisher : Institute of Computer Science (IOCS)

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.35335/jbst.v11i3.3549

Abstract

Targeting the number thought in a list is a common problem in computer science and is commonly implemented with the search algorithm. Numerical math games are a big thing for all of us. One of the really challenging games is targeting the number thought by the opponent. Therefore, the purpose of our study is to find the desired number through the binary search algorithm. For this study, we developed a pseudocode in the Python programming language, which gives the desired result followed after several successful steps. Our study results show that the algorithm was very efficient in solving the problem of finding the intended natural.