Skip to content

Commit f9ed5e9

Browse files
committed
Try to fix BinarySearch.scala
1 parent 22742fb commit f9ed5e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scala/BinarySearch.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ def binarySearch(data: Seq[Int], target: Int): Option[Int] = {
1919

2020
object Main extends App {
2121
val data: Seq[Int] = Seq(0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12)
22-
val value: Int = 11
22+
val value: Int = 11
2323
println(s"Value '$value' found in position '${binarySearch(data, value).get}'")
2424
}

0 commit comments

Comments
 (0)