I adapted a solution from Chris Hwang for Cody Problem 594.
28518 Solvers
1409 Solvers
385 Solvers
Generate a string like abbcccddddeeeee
237 Solvers
423 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!