Author | Message |
---|---|
sramirez17
Posts: 2
|
Posted 15:35 Sep 28, 2019 |
I am having trouble understanding the instructions for how exactly the filter method is supposed to work. Can anyone point me in the right direction? Also, I will on campus all day tomorrow (sunday 9/29) until 4 pm working on the anagramizer if anyone would like to meet up my email is sabinoramirez017@gmail.com. Thank you! |
Mrxethan
Posts: 17
|
Posted 17:27 Sep 28, 2019 |
There are supposed to be two filter methods, the first one is non-recursive and second is recursive. If my input string had a space, I'd send it to the recursive method, otherwise I didn't need to use the recursive method. For a string with space, you could use the split method and send each string to the recursive method to check whether it's null. If any of the strings are null of 1 string, then you don't add the string to the anagram. |
sramirez17
Posts: 2
|
Posted 00:19 Sep 29, 2019 |
MRXETHAN, perfect thank you for your help! |