Skip to content

Commit 1eb05ba

Browse files
authored
Merge pull request #594 from remlostime/longest-swift
[Swift 4] Update Longest Common Subsequence
2 parents 665b526 + c03c0a5 commit 1eb05ba

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Longest Common Subsequence/LongestCommonSubsequence.playground/Contents.swift

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// last checked with Xcode 9.0b4
2+
#if swift(>=4.0)
3+
print("Hello, Swift 4!")
4+
#endif
5+
16
extension String {
27
public func longestCommonSubsequence(_ other: String) -> String {
38

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

0 commit comments

Comments
 (0)