79234222

Date: 2024-11-28 14:12:52
Score: 1.5
Natty:
Report link

Variant without boxing:

int[] sorted = IntStream.of(a)
    .map( i -> -i)
    .sorted()
    .map( i -> -i)
    .toArray();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mavalog