Hi i have got a programming problem which my teacher gave me yesterday.
Which goes like this:
Firstly we take input in array format:
1 2 1 3
1 2 3 1 3
2 1 2 1
2 1 1 3 3
then to print o/p
firstly we check number:count increment count for each row and then move to next number and we only check for its first instance
like for example:
1:4 2:4 3:3
12:3 11:4 13:3 21:4 23:3 33:2
121:3 113:3 123:2 213:2
1213:2
if anybody could solve this problem please let me know?