Cody

Problem 45188. Repeat elements of a vector

Repeat each elements of a given vector according to their values. say x=[1,2,1,3] y=[1,2,2,1,3,3,3]

Solution Stats

92.31% Correct | 7.69% Incorrect
Last Solution submitted on Nov 25, 2019

Problem Recent Solvers11

Suggested Problems

More from this Author19

Problem Tags