0
Given an array of pairs, for example:
[["Denver", "Miami"], ["Miami", "Tulsa"], ["LA", "Okmulgee"], ["Mobile", "Portland"], ["Tucson", "LA"]]
What's the best way to arrange these pairs into an array of arrays that looks like:
[["Denver", "Miami", "Tulsa"], ["Tucson", "LA", "Okmulgee"], ["Mobile", "...