Cody

Problem 341. count to vector

Return a matrix of numbers of dimension K by N, where K = prod(v), and N=length(v). The rows count from a vector of ones up to v, where the nth element of a row can take on the values 1:v(n).

Solution Stats

62.2% Correct | 37.8% Incorrect
Last solution submitted on Aug 29, 2019

Problem Comments

Solution Comments