79330712

Date: 2025-01-05 12:39:53
Score: 1.5
Natty:
Report link

You may try this employees.stream().collect(Collectors.groupingBy(x->x.salary)).entrySet().forEach(x->{ System.out.println(x.getKey()+" "+x.getValue()); });

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: amit