in reply to Re^4: Spliting array into nested sequential arrays
in thread Spliting array into nested sequential arrays

Never assume what is required. Trust me. Ask and ask again and preferably get the specs in writing. If the spec is ambiguous, then I assure you that you will have to either do it over or have people call your code naive at best. :)

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
  • Comment on Re^5: Spliting array into nested sequential arrays

Replies are listed 'Best First'.
Re^6: Spliting array into nested sequential arrays
by Hameed (Acolyte) on Oct 29, 2014 at 03:38 UTC
    Oh of course, I get that... :D

    This was an interview situation and it was not just an assumption but kind of a logical thought process from their question. "Now from this, do such and such..."