Posts by Leonardo Freitas • 33 points
1 post
-
3
votes2
answers200
viewsQ: Eliminate consecutive duplicate string letters
How do I scroll through an array of strings and delete consecutive repeat letters? Incoming: String[] x = {"lleonardo", "joaoo"} Exit: String[] x = {"leonardo", "joao"} I created the function below,…