Cody

Problem 39. Which values occur exactly three times?

Created by Cody Team in Cody Challenge

Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if

 x = [1 2 5 2 2 7 8 3 3 1 3 8 8 8]

then

 y = [2 3]

Solution Stats

44.32% Correct | 55.68% Incorrect
Last solution submitted on Dec 16, 2018

Problem Comments

Solution Comments

Recent Solvers2955

Tags

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!