Click here to Skip to main content
11,636,985 members (72,670 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Homework
test.txt

doc1 I am a student also girl
doc2 I am a student
doc3 I am a boy

matching words is "student"
using open file and read line by line as dictionary words. And also placing Doc ID.

My result file is,

doc1 I am a student also girl
doc2 I am a student


how to solve them,

thanks
Posted 1-Oct-10 4:25am
ttds848
Edited 1-Oct-10 10:57am
(no name)16.4K
v2
Comments
OriginalGriff at 1-Oct-10 10:53am
   
Nope, sorry, but you will have to do better than that.
Try asking a question, or explaining what you have a problem with.
Otherwise, we will have to assume that you have just written out half of your homework question, without bothering to think about what you are supposed to be doing with it! But you wouldn't do that, would you? No.
Sandeep Mewara at 1-Oct-10 11:54am
   
What have you tried yourself? Any effort?
Amir Nasrollahi at 26-Dec-14 5:46am
   
what are you looking for? are you talking about LCS Algorithm?
See this: http://en.wikipedia.org/wiki/Longest_common_subsequence_problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 stibee 313
1 jyo.net 295
2 OriginalGriff 263
3 Sergey Alexandrovich Kryukov 240
4 Suvendu Shekhar Giri 225
0 OriginalGriff 8,941
1 Sergey Alexandrovich Kryukov 8,493
2 Mika Wendelius 6,909
3 F-ES Sitecore 2,388
4 Suvendu Shekhar Giri 2,320


Advertise | Privacy | Mobile
Web04 | 2.8.150728.1 | Last Updated 1 Oct 2010
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100