Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT #2 - GREEDY ALGORITHM AND DYNAMIC PROGRAMMING
NATHAN CAZELL
11/24/2014

These algroithm methods are written in Python v3.x no v2.7

## INTERVAL SCHEDULING
  - Run the script `interval.py` with data1.txt with Python v3.x
      `python3 interval.py data1.txt`

  - This script outputs the job names in the schedule, one job
    name per line

## LONGEST COMMON SUBSEQUENCE
  - Run the script `lcs.py` with data2.txt with Python v3.x
      `python3 lcs.py data2.txt`

  - This script outputs the LCS for each pair of strings in the
    data file, each LCS per line.

About

Python implementation of Interval Scheduling and Longest Common Subsequence

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages