Tag Info

New answers tagged


I guess my solution maybe pretty easy,but it can works: n = 5; ToExpression[Table["{", {n}] <> Table["}", {n}]] == Nest[{#} &, {}, n - 1] True And if I set n a large number: n=2*10^6; Nest[{#} &, {}, n]; Depth[%] 2000002 Also works.


Let me give you at least a start, because in general, I like this question. There are some things that are still unclear. For instance, you write in the comment and has as child name 2 who has two childs name 3 and 4 . etc Regarding the example you gave, this is not correct. name2 has one child which is name3 which in return has one child name4. Look ...

Top 50 recent answers are included