Do you know how to effectively split string in to pieces by a predefined separator? And can you remove the empty items if two separators are closed to each other?
What is the problem with the above method? And when will you use streaming manner?
A program can fulfill its function. But can you list some of the non-functional characteristics of a program. Which one you will put into consideration when you are creating a solution.