We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c136244 commit 788cc11Copy full SHA for 788cc11
src/scala/BinarySearch.scala
@@ -20,5 +20,7 @@ def binarySearch(data: Seq[Int], target: Int): Option[Int] = {
20
object Main extends App {
21
val data: Seq[Int] = Seq(0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12)
22
val value: Int = 11
23
- println(s"Value '$value' found in position '${binarySearch(data, value).get}'")
+ println(
24
+ s"Value '$value' found in position '${binarySearch(data, value).get}'"
25
+ )
26
}
0 commit comments