Skip to content

Commit 788cc11

Browse files
committed
Try to fix BinarySearch.scala
1 parent c136244 commit 788cc11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/scala/BinarySearch.scala

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ def binarySearch(data: Seq[Int], target: Int): Option[Int] = {
2020
object Main extends App {
2121
val data: Seq[Int] = Seq(0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12)
2222
val value: Int = 11
23-
println(s"Value '$value' found in position '${binarySearch(data, value).get}'")
23+
println(
24+
s"Value '$value' found in position '${binarySearch(data, value).get}'"
25+
)
2426
}

0 commit comments

Comments
 (0)