binary search in python for finding value

Job ID: 36930144

Budget: $10 – $100 USD

Python Developer Needed for Binary Search Project

- I am looking for a skilled Python developer who can assist me with implementing a binary search algorithm in Python.
- The focus of the project is to search for a specific integer value.
- The ideal candidate should have experience in working with binary search algorithms and be familiar with the Python programming language.
- The ability to determine the exact index of the value is not specified, so the candidate should be prepared to handle both scenarios.

- If you have previous experience with binary search algorithms and are proficient in Python, please apply for this project.


Project :

I have value x and mod n :
value n is always 2**127-1

we have function:
def mult(x,f,pos):
res=hex(x*f%n)[2:].zfill(64)
return res[0:pos]

find by binary search similiar f which output of mult is the same in positions
I mean we are must find only few starting the same letter.

it shoud check a lot of time the the range 1 to n.
Related categories: Python Machine Learning (ML)