leetcode

34. Find First and Last Position of Element in Sorted Array

Solution code

Time complexity: O(log(n))

Space complexity: O(1)

Runtime 0 ms
Beats 100.00%

Memory 45.92 MB
Beats 21.73%