From 9e50398505a664b467a5301e19c7f1ae024d0393 Mon Sep 17 00:00:00 2001 From: "Kelvin S. do Prado" Date: Tue, 22 Oct 2024 22:34:05 -0300 Subject: [PATCH] Try to fix BinarySearch.scala --- src/scala/BinarySearch.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scala/BinarySearch.scala b/src/scala/BinarySearch.scala index fb88826c..2088863d 100644 --- a/src/scala/BinarySearch.scala +++ b/src/scala/BinarySearch.scala @@ -19,7 +19,7 @@ def binarySearch(data: Seq[Int], target: Int): Option[Int] = { object Main extends App { val data: Seq[Int] = Seq(0, 1, 3, 5, 6, 7, 8, 9, 10, 11, 12) - val value: Int = 11 + val value: Int = 11 println( s"Value '$value' found in position '${binarySearch(data, value).get}'" )