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]
1 player likes this solution
1 player likes this solution
1 player likes this solution
3 players like this solution
2 players like this solution
1 player likes this solution
Tags
Win cash prizes and have your live script featured on our website
Learn more
14 players like this problem
14 players like this problem