Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

README.md

Longest Common Subsequence (LCS) - Swift

A demonstration for Longest Common Subsequence (LCS) in swift.

Part 1: Naive Approach and Dynamic Programming

Disscus naive solution and Dynamic Programming by using Memorization-Table. Ref: http://nghiatran.me/longest-common-subsequence-implementation-part-1/

Part 2: Diff on iOS development.

Implement Diff and DiffStep struct for representing remove/delete/reload action. Improvement Diff Algorithm to calculate the optimzation "DiffStep" Extend UITableView, UICollectionView, easier get optimize transfrom from DataSourceA -> DataSourceB. Ref: http://nghiatran.me/diff-in-real-world-ios-part-2/

Keep in touch

If you're interesting about Data Stucture and Alogrithm, please keep in touch with me at www.nghiatran.me . I intent to write more, with visualization image, help you could understand easier 😉

About

Demonstration for Longest Common Subsequence (LCS) in swift. Ref http://nghiatran.me/longest-common-subsequence-diff-part-1/

Topics

Resources

Releases

No releases published

Packages

No packages published

Languages