Created
October 30, 2017 17:50
-
-
Save memish/a3b686816335d92cd4d55c5859c077a6 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
import java.util.*; | |
/** | |
* Solve the methods below | |
* | |
* Mr. Memmo | |
* 10/29 | |
* NOTE: for all of these. They should work if I switch values | |
*/ | |
public class ProgrammingChallenge | |
{ | |
public ProgrammingChallenge() | |
{ | |
String[] letters = {"a","a","a","a","b","c","c","a","a","d","e","e","e","e"}; | |
String[] words = {"civic", "tent","push","level","radar","hello","stats","madam","world"}; | |
} | |
/*"a","a","b","c","c","a" | |
* create an arraylist that removes the consecutive | |
* thus, the above array would become an | |
* arraylist that held the following values | |
* a,b,c,a | |
* print the contents of the arraylist to the screen | |
* at end of method. | |
*/ | |
public void removeConsecutives(String[] a) | |
{ | |
} | |
/* | |
* Is the string a palindrome | |
*/ | |
public boolean isPalindrome(){ | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment