We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
If you're going to use a Trainwreck, at least format it more like this:
Scannerin=newScanner(System.in);List<String>strings=IntStream.range(0,in.nextInt()).mapToObj(i->in.next()).collect(Collectors.toList());IntStream.range(0,in.nextInt()).mapToObj(i->in.next())// over here, you can comment individual functions where appropriate..mapToLong(q->strings.stream().filter(q::equals).count()).forEach(System.out::println);
Sparse Arrays
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:
The line count metric is such a poor one.