News for hackers. Stuff that matters.
Re:Why it’s hard for programmers to write a program to flatt... by alkonaut on Friday February 24, 2017 @02:58PM (#13727217)
This is pretty easy actually: since the question is horribly vague on what the input type actually IS, I'm going to just assume it's a string.

So flatttening the list is just a string split on all delimiters. Done.

My Java is rusty but something like input.split("\[\],"). Done.

It's an answer of exactly the same quality as the question...

There are no comments on this comment yet.