Chetan Dattachetan77.hashnode.dev·Feb 26, 2024704. Binary SearchProblem Given an array of integers nums which is sorted in ascending order, and an integer target, write a function to search target in nums. If target exists, then return its index. Otherwise, return -1. You must write an algorithm with O(log n) run...Leetcodebinary searchAdd a thoughtful commentNo comments yetBe the first to start the conversation.