Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 987 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 987 Bytes

REI SDET Homework Problem

The Problem Using Java, find all of the English words in a given String. For example, if you are given the word WORKING, you can easily find WORK and KING, but ROW, RING and KNOW are also in there. You have access to a utility class called Dictionary, which has one method, isEnglishWord(String word). Dictionary.isEnglishWord(String word) connects to a (mocked) online dictionary and returns Boolean true if the String passed to it is an English word, return false otherwise. Instructions

Use Maven to create a project to answer this problem. You will need to create the Dictionary class. You will need to mock Dictionary.isEnglishWord(String word) for your solution and tests. The output of your primary method should be a collection of Strings without duplicates. Create tests that exercise your class and methods. Please complete the instructions to the best of your ability and understanding and come prepared to discuss the design decisions you chose.