java flatten list

Solutions on MaxInterview for java flatten list by the best coders in the world