Click here to Skip to main content
16,005,162 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: error correction Pin
Arash Partow13-Feb-09 1:14
Arash Partow13-Feb-09 1:14 
GeneralRe: error correction Pin
Deresen13-Feb-09 1:54
Deresen13-Feb-09 1:54 
AnswerRe: error correction Pin
supercat912-Feb-09 12:46
supercat912-Feb-09 12:46 
QuestionStrings issue... Pin
ventomito10-Feb-09 8:25
ventomito10-Feb-09 8:25 
AnswerRe: Strings issue... Pin
cmk10-Feb-09 12:34
cmk10-Feb-09 12:34 
AnswerRe: Strings issue... Pin
Mohammad Dayyan11-Feb-09 0:30
Mohammad Dayyan11-Feb-09 0:30 
GeneralRe: Strings issue... Pin
ventomito11-Feb-09 4:39
ventomito11-Feb-09 4:39 
AnswerRe: Strings issue... Pin
Alan Balkany11-Feb-09 5:23
Alan Balkany11-Feb-09 5:23 
Some of the problem parameters aren't clear: Do the recurrent strings always start at the beginning of the line? Do you just ignore non-letters (numbers and punctuation)?

If the answer to both of these questions is yes, you can do this:

1. For each line
2.    Extract the string of just the letters from the beginning of the line.
3.    See if this string is in a hash table.  If so, it's a recurrent string.
4.    Else insert this string into the hash table.

If the strings don't always start at the beginning of the line, you have to do multiple insertions for each string: the whole string, the substring starting at the 2nd letter, 3rd letter, etc...
AnswerRe: Strings issue... Pin
Scott Dorman13-Feb-09 6:19
professionalScott Dorman13-Feb-09 6:19 
QuestionFinding Algorithms With Google Pin
Kyudos3-Feb-09 11:46
Kyudos3-Feb-09 11:46 
AnswerRe: Finding Algorithms With Google Pin
Member 41945933-Feb-09 12:21
Member 41945933-Feb-09 12:21 
QuestionFInding the limit of a function f(x) Pin
nike_arh31-Jan-09 3:37
nike_arh31-Jan-09 3:37 
AnswerRe: FInding the limit of a function f(x) Pin
Alan Balkany2-Feb-09 3:45
Alan Balkany2-Feb-09 3:45 
QuestionI need help in developing a commercial website Pin
shriyangika26-Jan-09 19:46
shriyangika26-Jan-09 19:46 
AnswerRe: I need help in developing a commercial website Pin
Pete O'Hanlon27-Jan-09 10:07
mvePete O'Hanlon27-Jan-09 10:07 
GeneralRe: I need help in developing a commercial website Pin
crain198130-Jan-09 10:27
crain198130-Jan-09 10:27 
GeneralRe: I need help in developing a commercial website Pin
shriyangika2-Feb-09 21:08
shriyangika2-Feb-09 21:08 
GeneralRe: I need help in developing a commercial website Pin
tasumisra2-Feb-09 21:41
tasumisra2-Feb-09 21:41 
GeneralRe: I need help in developing a commercial website Pin
Pete O'Hanlon13-Feb-09 2:07
mvePete O'Hanlon13-Feb-09 2:07 
GeneralRe: I need help in developing a commercial website Pin
shriyangika4-Mar-09 20:34
shriyangika4-Mar-09 20:34 
QuestionALGORITHMS FOR SUPERVISED LEARNING TECHNIQUE Pin
Nettai26-Jan-09 19:04
Nettai26-Jan-09 19:04 
AnswerRe: ALGORITHMS FOR SUPERVISED LEARNING TECHNIQUE Pin
Alan Balkany27-Jan-09 11:37
Alan Balkany27-Jan-09 11:37 
Questiontarverse binary tree Pin
abu rakan26-Jan-09 1:02
abu rakan26-Jan-09 1:02 
AnswerRe: tarverse binary tree Pin
musefan26-Jan-09 3:03
musefan26-Jan-09 3:03 
GeneralRe: tarverse binary tree Pin
abu rakan26-Jan-09 10:29
abu rakan26-Jan-09 10:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.