Pergunta de entrevista da empresa Neustar

2.1 Get the distinct number of rows in two dimensional binary array?