Skip to content

Commit 41d4228

Browse files
authored
Merge pull request kodecocodes#536 from remlostime/binary-tree-swift
[Swift 4] Update Binary Tree
2 parents c79b051 + c37d8cb commit 41d4228

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Binary Tree/BinaryTree.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
public indirect enum BinaryTree<T> {
49
case node(BinaryTree<T>, T, BinaryTree<T>)
510
case empty

0 commit comments

Comments
 (0)