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

60.14% Correct | 39.86% Incorrect
Last Solution submitted on May 21, 2020

Problem Comments

Solution Comments