Problem 59766. Compress list
Given a non-empty list L of positif integers, compress the list so that only one occurrence is retained if two (or more) equal elements are adjacent to each other.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
13097 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1040 Solvers
-
Project Euler: Problem 16, Sums of Digits of Powers of Two
134 Solvers
-
Poker Series 01: isStraightFlush
119 Solvers
-
1172 Solvers
More from this Author24
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!