Skip to content

Commit 9e50398

Browse files
committed
Try to fix BinarySearch.scala
1 parent 3796d6d commit 9e50398

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,7 +19,7 @@ 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(
2424
s"Value '$value' found in position '${binarySearch(data, value).get}'"
2525
)

0 commit comments

Comments
 (0)