Netskope Interview Question

Given multiple lists, find if its mergeable