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.6% Correct | 55.4% Incorrect
Last solution submitted on Apr 21, 2018

Problem Comments

Solution Comments

Recent Solvers2583

Tags

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more