Skip to content

Commit 7945b36

Browse files
committed
Add blank line
1 parent 5418241 commit 7945b36

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/scala/BinarySearch.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import scala.annotation.tailrec
22

33
def binarySearch(data: Seq[Int], target: Int): Option[Int] = {
4+
45
@tailrec
56
def search(left: Int, right: Int): Option[Int] = {
67
if (left > right) None

0 commit comments

Comments
 (0)