Please complete the following and submit source code and output from running
sbt test
and sbt run
to [email protected].
You're welcome to use Internet resources in solving this problem as long as they don't give you the solution. We just ask that you cite every source that you used. Also, please state with how much time you spent on this question. If you have any questions about this or would like to seek clarification, please contact [email protected].
The development team will use this assessment to determine if you may be a suitable candidate for the position.
Please bundle your project (sans binaries) and email to [email protected] or upload to a private repository and share the link. Please don't push your solution to our public github repository. Thank you.
- Complete implementation of the
io.oseberg.interview.FileStats
andio.oseberg.interview.FileStat
types. - Complete implementation of the final two test specs in
src/test/scala/io.oseberg/interview/ScreenerSpec.scala
. When you runsbt test
all tests should pass. - Complete the implementation of the
Screener
object inio.oseberg.interview.Screener
so it prints relevant information for the file like the text below. - What is the time order complexity (Big-O) of your solution?
Stats for file: DoI.txt:
Line Count: 41
Total Word Count: 1335
Count for 'People': 10
Top Three Words by Freq: the, of, to