Back to basics 2 - Function Path
Covering some basic topics I haven't seen elsewhere on Cody.
Given a string that is the name of a MATLAB function, return a s...
GJam 2014 China Rd B: Sudoku Checker
This Challenge is derived from <http://code.google.com/codejam/contest/2929486/dashboard#s=p0 GJam 2014 China Sudoku>. Large Cas...
The average of the second largest values
Given a matrix, find the average of the second largest values in each row. The same value does not exist on a row.
Example: ...
5 years 前
已解决
'Determine if array of numbers is odd'
Return true if the input single number is odd. If the input is a vector, it will return a vector or array of logical values indi...
Get ranks of values in a vector
For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...
The glass half full
Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...