Cody

Problem 44651. Find all repeated numbers

For a given vector, find all numbers that repeated 2 times or more than 2 times.

Example:

A=[1 2 3 3 4 5 6 6 7]
y=[3 6]

Example:

A=[1 1 1 1 0 1 1 2 2 9]
y=[1 2]

Solution Stats

40.3% Correct | 59.7% Incorrect
Last Solution submitted on Jun 25, 2020

Problem Comments

Problem Recent Solvers27

Suggested Problems

More from this Author18

Problem Tags