Click here to Skip to main content
15,900,685 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: If I have two algorithms, one has a running time of 100n^2 and the other has a run time of 2^n, what is the smallest value I can use to make 100n^2 run faster than 2^n? Pin
Matt_Booty22-Jul-19 8:34
Matt_Booty22-Jul-19 8:34 
QuestionTrying to program advanced Sudoku techniques Pin
haackeDc11-Jul-19 7:11
haackeDc11-Jul-19 7:11 
AnswerRe: Trying to program advanced Sudoku techniques Pin
Gerry Schmitz12-Jul-19 6:02
mveGerry Schmitz12-Jul-19 6:02 
AnswerRe: Trying to program advanced Sudoku techniques Pin
53x1513-Sep-19 6:09
53x1513-Sep-19 6:09 
QuestionFiguring out when one algorithm will be slower than another algorithm. Pin
Member 145257479-Jul-19 11:20
Member 145257479-Jul-19 11:20 
GeneralRe: Figuring out when one algorithm will be slower than another algorithm. Pin
harold aptroot9-Jul-19 22:19
harold aptroot9-Jul-19 22:19 
AnswerRe: Figuring out when one algorithm will be slower than another algorithm. Pin
Gerry Schmitz10-Jul-19 6:39
mveGerry Schmitz10-Jul-19 6:39 
Questionwhat does this algorithm do ? Pin
Member 145190962-Jul-19 13:34
Member 145190962-Jul-19 13:34 
Fonction f(a: entier, b: entier): integer
var r, z: integer
Begin
r <-- 0
z <-- 1

while(a != 0)
  r <-- r + (a mod 10) * z
  z <-- z * b
  a <-- a div 10
endWhile

return r
End

AnswerRe: what does this algorithm do ? Pin
Maciej Los3-Jul-19 8:33
mveMaciej Los3-Jul-19 8:33 
AnswerRe: what does this algorithm do ? Pin
Patrice T6-Jul-19 12:33
mvePatrice T6-Jul-19 12:33 
QuestionBetter operating system than 64 bit? Pin
Member 145095551-Jul-19 19:39
Member 145095551-Jul-19 19:39 
AnswerRe: Better operating system than 64 bit? Pin
OriginalGriff1-Jul-19 19:51
mveOriginalGriff1-Jul-19 19:51 
GeneralRe: Better operating system than 64 bit? Pin
Richard Deeming2-Jul-19 1:28
mveRichard Deeming2-Jul-19 1:28 
QuestionPuchi and Luggage. Wrong Answer for some test cases. Pin
Member 144776851-Jun-19 9:24
Member 144776851-Jun-19 9:24 
SuggestionRe: Puchi and Luggage. Wrong Answer for some test cases. Pin
Richard MacCutchan1-Jun-19 21:32
mveRichard MacCutchan1-Jun-19 21:32 
QuestionWhat kind of structure can it be? Pin
Member 1447661631-May-19 0:24
Member 1447661631-May-19 0:24 
AnswerRe: What kind of structure can it be? Pin
Richard MacCutchan31-May-19 1:09
mveRichard MacCutchan31-May-19 1:09 
QuestionAlgorithm to find maximum sum in an array given that the elements have unique digits Pin
akshit bhatia28-May-19 9:02
akshit bhatia28-May-19 9:02 
AnswerRe: Algorithm to find maximum sum in an array given that the elements have unique digits Pin
Patrice T1-Jun-19 10:12
mvePatrice T1-Jun-19 10:12 
QuestionXamarin Platform Pin
Member 1447108926-May-19 5:50
Member 1447108926-May-19 5:50 
AnswerRe: Xamarin Platform Pin
OriginalGriff26-May-19 5:51
mveOriginalGriff26-May-19 5:51 
Question[solved] Find the sublist of objects with the highest value without exceeding weight limit Pin
Member 1433642827-Apr-19 2:23
Member 1433642827-Apr-19 2:23 
AnswerRe: Find the sublist of objects with the highest value without exceeding weight limit Pin
OriginalGriff27-Apr-19 2:25
mveOriginalGriff27-Apr-19 2:25 
GeneralRe: Find the sublist of objects with the highest value without exceeding weight limit Pin
Member 1433642827-Apr-19 5:29
Member 1433642827-Apr-19 5:29 
GeneralRe: Find the sublist of objects with the highest value without exceeding weight limit Pin
ChrisFromWales1-May-19 0:09
ChrisFromWales1-May-19 0:09 

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.