Update and rename (unfinished)find least common value in a set of arrays to find least common value in a set of sorted arrays