Topic: Array Problem / Level: beginner

Problem: Find the number of distinct elements in each row of a 2D matrix.

Run the code to see the output here...