Click here to Skip to main content
15,889,216 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Base 36 value math problem Pin
Matt T Heffron5-May-15 8:12
professionalMatt T Heffron5-May-15 8:12 
It depends on how you're (internally) representing the values.
If you're using regular .NET integer types (e.g., Int32, Int64) then just compare the values.
If you're using strings to represent the values, then
1. if necessary, pad the strings to the same length (leading spaces or zeros)
2. use a case-INsensitive string comparison.

The string representation is a very poor design for something like this!
A positive attitude may not solve every problem, but it will annoy enough people to be worth the effort.

GeneralRe: Base 36 value math problem Pin
stoneyowl25-May-15 9:33
stoneyowl25-May-15 9:33 
QuestionRe: Base 36 value math problem Pin
Matt T Heffron6-May-15 7:49
professionalMatt T Heffron6-May-15 7:49 
GeneralRe: Base 36 value math problem Pin
Daniel Pfeffer6-May-15 21:21
professionalDaniel Pfeffer6-May-15 21:21 
AnswerRe: Base 36 value math problem Pin
Gerry Schmitz5-May-15 9:53
mveGerry Schmitz5-May-15 9:53 
GeneralRe: Base 36 value math problem Pin
stoneyowl25-May-15 9:58
stoneyowl25-May-15 9:58 
GeneralRe: Base 36 value math problem Pin
Gerry Schmitz5-May-15 10:15
mveGerry Schmitz5-May-15 10:15 
AnswerRe: Base 36 value math problem Pin
Patrice T17-Jun-15 19:00
mvePatrice T17-Jun-15 19:00 
AnswerRe: Base 36 value math problem Pin
Frankie-C6-May-15 7:01
Frankie-C6-May-15 7:01 
SuggestionRe: Base 36 value math problem Pin
Matt T Heffron6-May-15 7:41
professionalMatt T Heffron6-May-15 7:41 
GeneralRe: Base 36 value math problem Pin
Frankie-C7-May-15 2:07
Frankie-C7-May-15 2:07 
AnswerRe: Base 36 value math problem Pin
Patrice T17-Jun-15 18:37
mvePatrice T17-Jun-15 18:37 
GeneralRe: how does C4.5 work? Pin
PIEBALDconsult25-Apr-15 7:46
mvePIEBALDconsult25-Apr-15 7:46 
AnswerRe: how does C4.5 work? Pin
pt140125-Apr-15 8:39
pt140125-Apr-15 8:39 
AnswerRe: how does C4.5 work? Pin
Richard MacCutchan25-Apr-15 20:54
mveRichard MacCutchan25-Apr-15 20:54 
AnswerRe: how does C4.5 work? Pin
Kornfeld Eliyahu Peter25-Apr-15 21:01
professionalKornfeld Eliyahu Peter25-Apr-15 21:01 
AnswerRe: algorithm Pin
Sascha Lefèvre25-Apr-15 7:37
professionalSascha Lefèvre25-Apr-15 7:37 
Questionalgorithm Pin
Deepak Pundir17-Apr-15 9:10
Deepak Pundir17-Apr-15 9:10 
AnswerRe: algorithm Pin
Sascha Lefèvre17-Apr-15 9:48
professionalSascha Lefèvre17-Apr-15 9:48 
GeneralRe: algorithm Pin
harold aptroot17-Apr-15 9:54
harold aptroot17-Apr-15 9:54 
GeneralRe: algorithm Pin
PIEBALDconsult15-May-15 14:42
mvePIEBALDconsult15-May-15 14:42 
QuestionAlgorithm for finding the best “route” of tasks Pin
Nino Cotec2-Apr-15 5:50
Nino Cotec2-Apr-15 5:50 
AnswerRe: Algorithm for finding the best “route” of tasks Pin
Chris Losinger2-Apr-15 9:41
professionalChris Losinger2-Apr-15 9:41 
AnswerRe: Algorithm for finding the best “route” of tasks Pin
Patrice T25-Jun-15 8:44
mvePatrice T25-Jun-15 8:44 
QuestionCreate continuous path from multiple segments Pin
Member 115731191-Apr-15 3:38
Member 115731191-Apr-15 3:38 

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.