Skip to content

Commit

Permalink
Updated MST (Unweighted) to Swift 4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
inickt committed Oct 12, 2018
1 parent af10fe9 commit e0c6676
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// last checked with Xcode 9.0b4
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

func breadthFirstSearchMinimumSpanningTree(_ graph: Graph, source: Node) -> Graph {
let minimumSpanningTree = graph.duplicate()

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 e0c6676

Please sign in to comment.