Netskope interview question

Given multiple lists, find if its mergeable