Skip to content

Commit 0465975

Browse files
authored
Update Solution.kt
1 parent 6b485a1 commit 0465975

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/g0001_0100/s0034_find_first_and_last_position_of_element_in_sorted_array

1 file changed

+1
-1
lines changed

src/main/kotlin/g0001_0100/s0034_find_first_and_last_position_of_element_in_sorted_array/Solution.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package g0001_0100.s0034_find_first_and_last_position_of_element_in_sorted_array
44
// #Algorithm_II_Day_1_Binary_Search #Binary_Search_I_Day_5 #Top_Interview_150_Binary_Search
55
// #Big_O_Time_O(log_n)_Space_O(1) #2023_07_05_Time_174_ms_(100.00%)_Space_37.8_MB_(71.70%)
66

7-
class Solution() {
7+
class Solution {
88
fun searchRange(nums: IntArray, target: Int): IntArray {
99
val ans = IntArray(2)
1010
ans[0] = helper(nums, target, false)

0 commit comments

Comments
 (0)