Skip to content

Releases: Frugghi/SwiftLCS

SwiftLCS 1.0

19 Oct 23:49
Compare
Choose a tag to compare

CollectionType extension:

An extension of CollectionType, which calculates the diff between two collections.

  • diff() returns the diff between two collections.

RangeReplaceableCollectionType extension:

An extension of RangeReplaceableCollectionType, which calculates the longest common subsequence between two collections.

  • longestCommonSubsequence() returns the longest common subsequence between two collections.

String extension:

An extension of String, which calculates the longest common subsequence between two strings.

  • longestCommonSubsequence() returns the longest common subsequence between two strings.

Diff struct:

A generic struct that represents a diff between two collections.