Skip to content

Commit

Permalink
Merge pull request kodecocodes#780 from SpacyRicochet/migration/swift…
Browse files Browse the repository at this point in the history
…4-2_red-black-tree

[Swift 4.2] Red-Black Sort
  • Loading branch information
richard-ash authored Nov 19, 2018
2 parents 2802369 + af9a656 commit e0bd3e9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Red-Black Tree/README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ The overall runtime of delete is O(log n).
## Resources:
[CLRS] T. Cormen, C. Leiserson, R. Rivest, and C. Stein. "Introduction to Algorithms", Third Edition. 2009

*Written for Swift Algorithm Club by Ute Schiehlen. Updated from Jaap Wijnen and Ashwin Raghuraman's contributions.*
*Written for Swift Algorithm Club by Ute Schiehlen. Updated from Jaap Wijnen and Ashwin Raghuraman's contributions. Swift 4.2 check by Bruno Scheele.*
5 changes: 0 additions & 5 deletions Red-Black Tree/RedBlackTree.playground/Contents.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
// Test for the RedBlackTree implementation provided in the Source folder of this Playground
import Foundation

// last checked with Xcode 9.0b4
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

let redBlackTree = RedBlackTree<Double>()

let randomMax = Double(0x10000000)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

0 comments on commit e0bd3e9

Please sign in to comment.