Skip to content

Commit

Permalink
Merge pull request kodecocodes#594 from remlostime/longest-swift
Browse files Browse the repository at this point in the history
[Swift 4] Update Longest Common Subsequence
  • Loading branch information
kelvinlauKL authored Aug 26, 2017
2 parents 665b526 + c03c0a5 commit 1eb05ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// last checked with Xcode 9.0b4
#if swift(>=4.0)
print("Hello, Swift 4!")
#endif

extension String {
public func longestCommonSubsequence(_ other: String) -> String {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios'>
<timeline fileName='timeline.xctimeline'/>
</playground>
</playground>

0 comments on commit 1eb05ba

Please sign in to comment.