Find the maximum two numbers of every column of a matrix.
Example:
If we input a matrix
A = [ 1 2 4 6 0 3 4 1 5 ]
we should get
B = [ 6 2 5 4 1 4 ]
Additional test cases have been added.
liuliu:you "regexp" everything,everywhere? LOL
5702 Solvers
244 Solvers
Arrange Vector in descending order
1812 Solvers
301 Solvers
136 Solvers