Click here to Skip to main content
14,367,300 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3213-Sep-19 5:15
memberNand3213-Sep-19 5:15 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 9:29
memberhoney the codewitch13-Sep-19 9:29 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
Nand3214-Sep-19 0:41
memberNand3214-Sep-19 0:41 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
q1213q13-Sep-19 7:03
memberq1213q13-Sep-19 7:03 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 8:03
memberhoney the codewitch13-Sep-19 8:03 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
q1213q13-Sep-19 8:09
memberq1213q13-Sep-19 8:09 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 8:11
memberhoney the codewitch13-Sep-19 8:11 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
q1213q13-Sep-19 8:25
memberq1213q13-Sep-19 8:25 
As far as I know the only recursive limitation is the call stack, with a balanced tree (binary as a worst case scenario) the number of nodes is 2^depth of tree. 16K elements is 14 calls as far as I remember?

In C# you can do this:

var stackSize = 10000;
Thread thread = new Thread(new ThreadStart(BigRecursion), stackSize);

Thread Class (System.Threading) | Microsoft Docs

modified 20-Oct-19 21:02pm.

GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 8:49
memberhoney the codewitch13-Sep-19 8:49 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
q1213q13-Sep-19 9:08
memberq1213q13-Sep-19 9:08 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 9:16
memberhoney the codewitch13-Sep-19 9:16 
GeneralRe: yay i published my b-tree and binary tree classes finally Pin
honey the codewitch13-Sep-19 9:44
memberhoney the codewitch13-Sep-19 9:44 
GeneralWSO CCC OTD (themed) 2019-09-13 Pin
OriginalGriff12-Sep-19 22:51
protectorOriginalGriff12-Sep-19 22:51 
GeneralRe: WSO CCC OTD (themed) 2019-09-13 Pin
PeejayAdams12-Sep-19 23:07
memberPeejayAdams12-Sep-19 23:07 
GeneralRe: WSO CCC OTD (themed) 2019-09-13 - we have a winner! Pin
OriginalGriff12-Sep-19 23:15
protectorOriginalGriff12-Sep-19 23:15 
GeneralNot the WSO CCC OTD 2019-09-13 Pin
OriginalGriff12-Sep-19 22:16
protectorOriginalGriff12-Sep-19 22:16 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
Abbas A. Ali12-Sep-19 22:35
professionalAbbas A. Ali12-Sep-19 22:35 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
OriginalGriff12-Sep-19 22:42
protectorOriginalGriff12-Sep-19 22:42 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
Abbas A. Ali12-Sep-19 22:47
professionalAbbas A. Ali12-Sep-19 22:47 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
OriginalGriff12-Sep-19 22:50
protectorOriginalGriff12-Sep-19 22:50 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
PeejayAdams12-Sep-19 23:03
memberPeejayAdams12-Sep-19 23:03 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
OriginalGriff12-Sep-19 23:06
protectorOriginalGriff12-Sep-19 23:06 
GeneralRe: Not the WSO CCC OTD 2019-09-13 Pin
DRHuff13-Sep-19 4:32
memberDRHuff13-Sep-19 4:32 
GeneralSound of the Week Pin
Sander Rossel12-Sep-19 22:09
professionalSander Rossel12-Sep-19 22:09 
GeneralRe: Sound of the Week Pin
Tachyonx13-Sep-19 4:43
memberTachyonx13-Sep-19 4:43 

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.