Skip to content

Instantly share code, notes, and snippets.

@memish
Created September 28, 2018 16:49
Show Gist options
  • Select an option

  • Save memish/155cc2e32d3819fd546641cf14168701 to your computer and use it in GitHub Desktop.

Select an option

Save memish/155cc2e32d3819fd546641cf14168701 to your computer and use it in GitHub Desktop.
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