Answer the question
In order to leave comments, you need to log in
Find the number of the last of the matrix rows containing the maximum number of identical elements?
Please help, I don't know how to solve this problem
Given an M × N integer matrix. Find the number of the last of its rows containing the maximum number of identical elements.
Answer the question
In order to leave comments, you need to log in
1. Write a method that determines the number of identical elements in a string.
2. Collect information on the rows about the number of identical elements and find the rows with the maximum number.
3. Select the last of these lines.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question