algorithms transformation

Solutions on MaxInterview for algorithms transformation by the best coders in the world

showing results for - "algorithms transformation"
Remco
29 May 2018
1// give back only names
2public List<String> getNames(List<Employee> employees) {
3    List<String> names = new ArrayList<>();
4    for (Employee employee: employees) {
5        names.add(employee.getName());
6    }
7    return names;
8}
similar questions
queries leading to this page
algorithms transformation