This folder contains six files:

- dpLcs.kt: Kotlin program to find the LCS of 2 input strings using bottom-up dp
- memLcs.kt: Kotlin program to find the LCS of 2 input strings using memoization
- lcsTest.kt: Kotlin program to compare the running times of both methods
- example1.txt: the first example input file
- example2.txt: the second example input file
- README.txt: this file

To compile all Kotlin programs, type

    kotlinc dpLcs.kt memLcs.kt lcsTest.kt   

To run `DpLcsKt` on `example1.txt`, type

    kotlin DpLcsKt < example1.txt

To run `MemLcsKt` on `example1.txt`, type

    kotlin MemLcsKt < example1.txt

To run `LcsTestKt` on `example1.txt`, type

    kotlin LcsTestKt < example1.txt

etc.
