You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -564,7 +564,7 @@ Your ideas/fixes/algorithms are more than welcome!
564
564
|38|[Count and Say](https://leetcode.com/problems/count-and-say/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_38.java)|O(n*2^n)|O(2^n)|Easy| Recursion, LinkedList
|34|[Search for a Range](https://leetcode.com/problems/search-for-a-range/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_34.java)|O(logn)|O(1)|Medium|Array, Binary Search
569
569
|33|[Search in Rotated Sorted Array](https://leetcode.com/problems/search-in-rotated-sorted-array/)|[Solution](../master/src/main/java/com/fishercoder/solutions/_33.java)|O(logn)|O(1)|Medium|Binary Search
Copy file name to clipboardexpand all lines: src/main/java/com/fishercoder/solutions/_35.java
+13-7
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,11 @@
1
1
packagecom.fishercoder.solutions;
2
2
3
3
/**
4
-
* Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
4
+
* 35. Search Insert Position
5
+
*
6
+
* Given a sorted array and a target value,
7
+
* return the index if the target is found.
8
+
* If not, return the index where it would be if it were inserted in order.
0 commit comments