emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ#5] Input Criteria #120

Closed TFloyd1989 closed 3 years ago

TFloyd1989 commented 3 years ago

If the word "United States" is on the list, should it trigger if it has a period at the end? For example "I was born in the United States."

TFloyd1989 commented 3 years ago

Also, can we override the trie methods so that they return something that helps us differentiate non-list words?

jdchoi77 commented 3 years ago

@TFloyd1989 you can override any part as needed if necessary.

TFloyd1989 commented 3 years ago

If the word "United States" is on the list, should it trigger if it has a period at the end? For example "I was born in the United States."

lujiaying commented 3 years ago

If the word "United States" is on the list, should it trigger if it has a period at the end? For example "I was born in the United States."

Yes