We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9748746 commit 457b738Copy full SHA for 457b738
src/main/java/com/fishercoder/solutions/_35.java
@@ -1,21 +1,5 @@
1
package com.fishercoder.solutions;
2
3
-/**
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.
9
-
10
- You may assume no duplicates in the array.
11
12
- Here are few examples.
13
- [1,3,5,6], 5 → 2
14
- [1,3,5,6], 2 → 1
15
- [1,3,5,6], 7 → 4
16
- [1,3,5,6], 0 → 0
17
- */
18
19
public class _35 {
20
21
public static class Solution1 {
0 commit comments