Skip to content

Commit 5a49242

Browse files
authored
Merge pull request kodecocodes#528 from remlostime/Seg-Tree-Swift
[Swift 4] Update Segment Tree
2 parents 721ef3c + fb5c197 commit 5a49242

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Segment Tree/SegmentTree.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 class SegmentTree<T> {
49

510
private var value: T

0 commit comments

Comments
 (0)