Skip to content

Commit 3b79812

Browse files
authored
Merge pull request kodecocodes#534 from remlostime/binary-search-swift
[Swift 4] Update Binary Search
2 parents 2fcf397 + b49c813 commit 3b79812

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Binary Search/BinarySearch.playground/Contents.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
//: Playground - noun: a place where people can play
22

3+
// last checked with Xcode 9.0b4
4+
#if swift(>=4.0)
5+
print("Hello, Swift 4!")
6+
#endif
7+
38
// An unsorted array of numbers
49
let numbers = [11, 59, 3, 2, 53, 17, 31, 7, 19, 67, 47, 13, 37, 61, 29, 43, 5, 41, 23]
510

Binary Search/BinarySearch.playground/timeline.xctimeline

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)