Cody

Problem 45188. Repeat elements of a vector

Repeat each elements of a given vector according to their values.

  • 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