Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why it’s hard for programmers to write a program to flatten a list?.
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.
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...