Idea of this function is simple. Each element is f...
# stdlib
m
Idea of this function is simple. Each element is finding the group he likes the most, or creates new one (by returning null in lambda).