Skip to content

Commit e0bd3e9

Browse files
authored
Merge pull request kodecocodes#780 from SpacyRicochet/migration/swift4-2_red-black-tree
[Swift 4.2] Red-Black Sort
2 parents 2802369 + af9a656 commit e0bd3e9

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Red-Black Tree/README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,4 +186,4 @@ The overall runtime of delete is O(log n).
186186
## Resources:
187187
[CLRS] T. Cormen, C. Leiserson, R. Rivest, and C. Stein. "Introduction to Algorithms", Third Edition. 2009
188188

189-
*Written for Swift Algorithm Club by Ute Schiehlen. Updated from Jaap Wijnen and Ashwin Raghuraman's contributions.*
189+
*Written for Swift Algorithm Club by Ute Schiehlen. Updated from Jaap Wijnen and Ashwin Raghuraman's contributions. Swift 4.2 check by Bruno Scheele.*

Red-Black Tree/RedBlackTree.playground/Contents.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
// Test for the RedBlackTree implementation provided in the Source folder of this Playground
33
import Foundation
44

5-
// last checked with Xcode 9.0b4
6-
#if swift(>=4.0)
7-
print("Hello, Swift 4!")
8-
#endif
9-
105
let redBlackTree = RedBlackTree<Double>()
116

127
let randomMax = Double(0x10000000)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>

0 commit comments

Comments
 (0)