Could you create a function that employs binary search to locate the maximum integer in a list?

Free for the first 3 answer contributors

Interview question asked to Data Scientists and Machine Learning Engineers interviewing at Gusto, Mailchimp, Zalora and others: Could you create a function that employs binary search to locate the maximum integer in a list?.