Talk:Tree from nesting levels: Difference between revisions

m
no edit summary
(/* a '''round-trip''' transformation, to ensure that no information is lost)
mNo edit summary
Line 127:
::But the key issue introduced by your examples here, which was not, I think, a component of that Stack Overflow discussion, was that of implicit intermediate levels, for which no integer is supplied in the input list.
::I believe the Stack Overflow examples are all fully saturated, with no missing nesting levels ? [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 06:36, 7 February 2021 (UTC)
::If [1, 2, 4] '''represents''' object nesting levels, as the task description tell us, then there is an implicit level 3. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 06:40, 7 February 2021 (UTC)
:: Perhaps the task could best be tightened up and filled out by also requiring, (as was already suggested elsewhere on this page, I think) a '''round-trip''' transformation, to ensure that no information is lost in the translation from list to tree (and back). [[User:Hout|Hout]] ([[User talk:Hout|talk]])
9,655

edits