From: "Jesús Gabriel y Galán" Date: 2007-11-23T03:59:02+09:00 Subject: Re: How to give depth to arrays? On Nov 22, 2007 7:39 PM, Sebastian Hungerecker wrote: > Eric I. wrote: > > Others, including Chris Morales, have interpreted the task as follows: > > > p [2,3,3,5,4,4].depthen => [2,[3,3,[[5],4,4]]] > > > > But that doesn't seem right to me, since the element 2 is at a depth > > of 1 and not 2. > > quoth Chris Morales: > > >>>> the first number is the base depth Yes, that's what I based my solution on. Afterwards I saw in his solution that he used the min of the array which makes more sense... Jesus.