Created
September 28, 2018 16:49
-
-
Save memish/155cc2e32d3819fd546641cf14168701 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| removeConsecutives(String[] a) | |
| String[] letters = {"a","a","a","a","b","c","c","a","a","d","e","e","e","e"}; | |
| removeConsecutives(letters); | |
| public String[] removeConsecutives(String[] a) | |
| { | |
| String[] newArray; | |
| return newArray; | |
| } | |
| //===================== | |
| //========================== | |
| /* | |
| * Is the string a palindrome | |
| */ | |
| public boolean isPalindrome(String a){ | |
| return true; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment