optimal algorithm grouping data in javascript Languages

optimal algorithm grouping data in javascript

The following (simplified) json type of data defines a Contact:There is the following group of data:Goal is to find the groups that belong together using javascript(optionally in lodash, but main idea is to get the algorithm clear) according to the following constraint: a contact belongs to a group when any...
Read More