coding Python

Question

Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value.

If target is not found in the array, return [-1, -1].

You must write an algorithm with O(log n) runtime complexity.

0
Shloka Reddy Lakka 3 years 0 Answers 231 views Great Grand Master 0

Leave an answer

Browse
Browse