Project Detail

Longest Common Subsequence - 2 Strings  

Longest Common Subsequence - 2 Strings is project number 240221
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: marchent

Budget: $30-250

Created: 03/21/2008 at 11:55 EDT

Bid Count: 3

Average Bid:
$ 33

03/22/2008 at 11:55 EDT

Project Creator: darren31
Employer Rating: 9.6667/109.6667/109.6667/109.6667/109.6667/109.6667/109.6667/109.6667/109.6667/109.6667/10 (3 reviews)

Bid On This Project
 

Description

I am wondering if someone has the time to create a C++, Java, or Perl (Providers Choice) program to implement the LCS Problem. This should find the longest common subsequence between 2 strings. The strings should be input by the user. This should print out a table that describes the path of the LCS. IE:

User Prompted for strings 1 and 2, input:
String 1 = XMJYAUZ
String 2 = MZJAWXU

OUTPUT of program::

Table:
(note: to see better format goto wiki here http://en.wikipedia.org/wiki/Longest_common_subsequence_problem#Example)
| 0 1 2 3 4 5 6 7
| M Z J A W X U
-----|-----------------
0 | 0 0 0 0 0 0 0 0
1 X | 0 0 0 0 0 0 1 1
2 M | 0 1 1 1 1 1 1 1
3 J | 0 1 1 2 2 2 2 2
4 Y | 0 1 1 2 2 2 2 2
5 A | 0 1 1 2 3 3 3 3
6 U | 0 1 1 2 3 3 3 4
7 Z | 0 1 2 2 3 3 3 4

LCS = MJAU

Compiler should be the g++ compiler for a c++ program and this should be a linux/unix environment program run by a MAKEFILE.

Thanks

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

30

0 days

03-21-2008 12:25 EDT

Dear sir, I am very interested in your project, Please see PMB for more details. Thanks. Best Regards.

help

 

40

1 day

03-21-2008 12:02 EDT

pls check PMB

help

 

30

0 days

03-21-2008 12:23 EDT

(No Feedback Yet)

Hello! I can do it for you with C++.

help


    Bid on this Project