Click here to Skip to main content
15,887,135 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 5:26
khomeyni5-Nov-09 5:26 
GeneralRe: order of algorithm Pin
harold aptroot5-Nov-09 5:30
harold aptroot5-Nov-09 5:30 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 5:49
khomeyni5-Nov-09 5:49 
GeneralRe: order of algorithm Pin
harold aptroot5-Nov-09 6:45
harold aptroot5-Nov-09 6:45 
GeneralRe: order of algorithm Pin
khomeyni5-Nov-09 19:35
khomeyni5-Nov-09 19:35 
GeneralRe: order of algorithm Pin
harold aptroot6-Nov-09 1:00
harold aptroot6-Nov-09 1:00 
GeneralRe: order of algorithm Pin
RichardM111-Nov-09 11:33
RichardM111-Nov-09 11:33 
AnswerRe: order of algorithm Pin
RichardM111-Nov-09 11:58
RichardM111-Nov-09 11:58 
Thank you for wanting to know HOW, not just wanting the answer.
.
Are you solving for the computational order of an algorithm that takes this long to process (the Big O notation), or are you looking for a numerical order of magnitude for the result of applying this equation to an arbitrary value 'n' ( eg. T(2) = sqrt(2)+T(sqrt(2))+2)?
.
T(n)=sqrt(n)*(T(sqrt(n))+n
.
The Big O would be O(n). the two terms are added together, so each term can be taken by itself.
sqrt(n) * T(sqrt(n))becomes 'n' in the limit, so you have two O(n) terms, which is the same as O(n).
.
If you are looking for numerics, I can't really help you.

Silver member by constant and unflinching longevity.

GeneralRe: order of algorithm Pin
khomeyni12-Nov-09 2:20
khomeyni12-Nov-09 2:20 
GeneralRe: order of algorithm Pin
RichardM113-Nov-09 15:20
RichardM113-Nov-09 15:20 
GeneralRe: order of algorithm Pin
harold aptroot12-Nov-09 2:40
harold aptroot12-Nov-09 2:40 
GeneralRe: order of algorithm Pin
RichardM113-Nov-09 15:19
RichardM113-Nov-09 15:19 
GeneralRe: order of algorithm Pin
RichardM112-Nov-09 12:58
RichardM112-Nov-09 12:58 
GeneralRe: order of algorithm Pin
harold aptroot14-Nov-09 0:34
harold aptroot14-Nov-09 0:34 
GeneralRe: order of algorithm Pin
khomeyni15-Nov-09 8:57
khomeyni15-Nov-09 8:57 
GeneralRe: order of algorithm Pin
RichardM115-Nov-09 13:12
RichardM115-Nov-09 13:12 
Question[Message Deleted] Pin
khomeyni4-Nov-09 6:43
khomeyni4-Nov-09 6:43 
AnswerRe: mergesort Pin
Tim Craig4-Nov-09 18:48
Tim Craig4-Nov-09 18:48 
QuestionBug-1 Algorithm question [modified] Pin
Alivemau53-Nov-09 3:15
Alivemau53-Nov-09 3:15 
AnswerRe: Bug-1 Algorithm question Pin
Nagy Vilmos5-Nov-09 3:26
professionalNagy Vilmos5-Nov-09 3:26 
Questionquestion about divide and conquer algorithm Pin
e_f_w_a1-Nov-09 9:52
e_f_w_a1-Nov-09 9:52 
AnswerRe: question about divide and conquer algorithm Pin
Ian Shlasko2-Nov-09 3:20
Ian Shlasko2-Nov-09 3:20 
GeneralRe: question about divide and conquer algorithm Pin
khomeyni4-Nov-09 20:00
khomeyni4-Nov-09 20:00 
GeneralRe: question about divide and conquer algorithm Pin
Ian Shlasko5-Nov-09 1:56
Ian Shlasko5-Nov-09 1:56 
GeneralRe: question about divide and conquer algorithm Pin
Tim Craig5-Nov-09 18:31
Tim Craig5-Nov-09 18:31 

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.