Problem 341. count to vector

Created by Chris in Community

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

63.2% Correct | 36.8% Incorrect
Last solution submitted on Jun 17, 2019

Problem Comments

Solution Comments