Click here to Skip to main content
15,886,963 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: question about divide and conquer algorithm Pin
<<Tash18>>14-Dec-09 19:39
<<Tash18>>14-Dec-09 19:39 
GeneralRe: question about divide and conquer algorithm Pin
Tim Craig14-Dec-09 22:40
Tim Craig14-Dec-09 22:40 
GeneralRe: question about divide and conquer algorithm Pin
<<Tash18>>14-Dec-09 23:05
<<Tash18>>14-Dec-09 23:05 
GeneralRe: question about divide and conquer algorithm Pin
Tim Craig15-Dec-09 9:43
Tim Craig15-Dec-09 9:43 
GeneralRe: question about divide and conquer algorithm Pin
<<Tash18>>17-Dec-09 1:12
<<Tash18>>17-Dec-09 1:12 
GeneralRe: question about divide and conquer algorithm Pin
Tim Craig17-Dec-09 9:43
Tim Craig17-Dec-09 9:43 
Questioncombinatorics: numbers with successive ones Pin
YaroslavPugach30-Oct-09 22:27
YaroslavPugach30-Oct-09 22:27 
Questionsearching and order of aalgorithm [modified] Pin
khomeyni29-Oct-09 2:48
khomeyni29-Oct-09 2:48 
in the name of god
i want to write an algorithm with order O(nlg(n)) that gets a real input (x) and searches in the array with size N of real numbers to find two elements that the addition of them is x.
i say that we must compare all elements together so how it can be O(nlg(n))?
does it work if we use binary search?how ?i dont know?
valhamdolelah.

modified on Friday, October 30, 2009 3:18 AM

AnswerRe: searching and order of aalgorithm Pin
Alan Balkany29-Oct-09 7:24
Alan Balkany29-Oct-09 7:24 
GeneralRe: searching and order of aalgorithm Pin
Member 419459329-Oct-09 10:06
Member 419459329-Oct-09 10:06 
GeneralRe: searching and order of aalgorithm Pin
Ian Shlasko29-Oct-09 11:12
Ian Shlasko29-Oct-09 11:12 
GeneralRe: searching and order of aalgorithm Pin
Luc Pattyn29-Oct-09 11:26
sitebuilderLuc Pattyn29-Oct-09 11:26 
GeneralRe: searching and order of aalgorithm Pin
Ian Shlasko29-Oct-09 11:33
Ian Shlasko29-Oct-09 11:33 
GeneralRe: searching and order of aalgorithm Pin
Member 419459329-Oct-09 12:51
Member 419459329-Oct-09 12:51 
GeneralRe: searching and order of aalgorithm Pin
Ian Shlasko29-Oct-09 13:01
Ian Shlasko29-Oct-09 13:01 
GeneralRe: searching and order of aalgorithm Pin
Member 419459329-Oct-09 13:13
Member 419459329-Oct-09 13:13 
GeneralRe: searching and order of aalgorithm Pin
Ian Shlasko29-Oct-09 13:31
Ian Shlasko29-Oct-09 13:31 
GeneralRe: searching and order of aalgorithm Pin
Alan Balkany29-Oct-09 16:29
Alan Balkany29-Oct-09 16:29 
GeneralRe: searching and order of aalgorithm Pin
Luc Pattyn29-Oct-09 13:17
sitebuilderLuc Pattyn29-Oct-09 13:17 
GeneralRe: searching and order of aalgorithm [modified] Pin
khomeyni29-Oct-09 21:34
khomeyni29-Oct-09 21:34 
QuestionShortest path related Pin
Alivemau526-Oct-09 4:02
Alivemau526-Oct-09 4:02 
AnswerRe: Shortest path related Pin
Alan Balkany26-Oct-09 4:37
Alan Balkany26-Oct-09 4:37 
GeneralRe: Shortest path related Pin
Alivemau526-Oct-09 5:20
Alivemau526-Oct-09 5:20 
GeneralRe: Shortest path related Pin
Alan Balkany26-Oct-09 5:36
Alan Balkany26-Oct-09 5:36 
GeneralRe: Shortest path related Pin
Alivemau526-Oct-09 7:22
Alivemau526-Oct-09 7:22 

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.