79149859

Date: 2024-11-02 02:50:06
Score: 0.5
Natty:
Report link

you can also achive this with Stream :

IntStream.rangeClosed(1, 10)
.forEach(i -> {
    System.out.println(
        Collections.nCopies(i, String.valueOf(i))
            .stream()
            .collect(Collectors.joining(" "))
    );
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed amine ben hassen