You are viewing a single comment's thread. Return to all comments →
If you're going to use a Trainwreck, at least format it more like this:
Scanner in = new Scanner(System.in);
List<String> strings = IntStream.range(0,in.nextInt())
.mapToObj(i -> in.next())
.mapToObj(i -> in.next()) // over here, you can comment individual functions where appropriate.
.mapToLong(q -> strings.stream()
The line count metric is such a poor one.