Solution to Sub-task: Map

The solution to the Sub-task "Map" for the project "Find Mutual Friends"

We'll cover the following

Map

In this step, create combinations of pairs for each property name in the object. Make sure that new objects have pairs of friends as keys and that is also in lexicographical order.

Get hands-on with 1200+ tech skills courses.