Click here to Skip to main content
15,896,912 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: External sorting: Which algorithm to select Pin
Mark Churchill6-Oct-08 5:23
Mark Churchill6-Oct-08 5:23 
GeneralRe: External sorting: Which algorithm to select Pin
supercat921-Oct-08 12:49
supercat921-Oct-08 12:49 
GeneralRe: External sorting: Which algorithm to select Pin
lizardking3d22-Oct-08 1:57
lizardking3d22-Oct-08 1:57 
GeneralRe: External sorting: Which algorithm to select Pin
supercat922-Oct-08 7:38
supercat922-Oct-08 7:38 
NewsHuge new prime number discovered Pin
73Zeppelin27-Sep-08 22:41
73Zeppelin27-Sep-08 22:41 
GeneralRe: Huge new prime number discovered Pin
Bassam Abdul-Baki28-Sep-08 15:16
professionalBassam Abdul-Baki28-Sep-08 15:16 
JokeRe: Huge new prime number discovered Pin
Nelek14-Oct-08 0:52
protectorNelek14-Oct-08 0:52 
QuestionScapegoat Tree Issue Pin
loctarar25-Sep-08 2:47
loctarar25-Sep-08 2:47 
Hello!

I'm working at a non-recursive implementation of a scapegoat tree ( Scapegoat tree "partial" paper ). At section 6.2 there is summarized an implementation of a non-recursive rebalancing algorithm. I think I almost got how I should use those 2 stacks, but my problem is how can I "plug" the nodes in the right(how should I tell if a node is connected to another?!) position. I think reduced the problem to the determination of height of a node in the rebalanced tree using the weight of the whole tree and the position of the node in the inorder traversal. The height determination should be only O(1) because the whole rebalance should be O(n) in time and O(logn) in space.

Thanks in advance!
Generalsuggest me an algorithm Pin
niconicx22-Sep-08 23:08
niconicx22-Sep-08 23:08 
GeneralRe: suggest me an algorithm Pin
73Zeppelin22-Sep-08 23:14
73Zeppelin22-Sep-08 23:14 
GeneralRe: suggest me an algorithm Pin
Paul Conrad25-Sep-08 7:13
professionalPaul Conrad25-Sep-08 7:13 
GeneralRe: suggest me an algorithm Pin
CPallini27-Sep-08 22:07
mveCPallini27-Sep-08 22:07 
GeneralRe: suggest me an algorithm Pin
PIEBALDconsult21-Nov-08 5:29
mvePIEBALDconsult21-Nov-08 5:29 
GeneralRe: suggest me an algorithm Pin
CPallini22-Nov-08 21:00
mveCPallini22-Nov-08 21:00 
QuestionI'm sorry if this sounds like a weird question... Pin
mhtirogla18-Sep-08 20:53
mhtirogla18-Sep-08 20:53 
AnswerRe: I'm sorry if this sounds like a weird question... Pin
73Zeppelin18-Sep-08 21:02
73Zeppelin18-Sep-08 21:02 
QuestionInterpX function limitation (within Interp32.xll Excel addin) [modified] Pin
M.Slipper18-Sep-08 7:04
M.Slipper18-Sep-08 7:04 
AnswerRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
73Zeppelin18-Sep-08 12:10
73Zeppelin18-Sep-08 12:10 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
M.Slipper18-Sep-08 14:49
M.Slipper18-Sep-08 14:49 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
73Zeppelin18-Sep-08 20:51
73Zeppelin18-Sep-08 20:51 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
M.Slipper19-Sep-08 7:58
M.Slipper19-Sep-08 7:58 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
73Zeppelin19-Sep-08 8:40
73Zeppelin19-Sep-08 8:40 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
M.Slipper19-Sep-08 8:51
M.Slipper19-Sep-08 8:51 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
73Zeppelin19-Sep-08 8:58
73Zeppelin19-Sep-08 8:58 
GeneralRe: InterpX function limitation (within Interp32.xll Excel addin) Pin
M.Slipper19-Sep-08 9:36
M.Slipper19-Sep-08 9:36 

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.