Not that I'm suggesting I'd have produced that in an interview mind you!They gave me two questions and this was the 2nd one. I am not sure what they expected to see in 45 minutes.
Thanks for the code. I see what I could have done differently to have given them not "naive" solution. I suppose being succinct is important as well.
In reply to Re^2: Spliting array into nested sequential arrays
by Hameed
in thread Spliting array into nested sequential arrays
by Hameed
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |