/eighth-light-coding-challenge

A series of three coding challenges completed for a job interview. Challenges were completed in about 90 minutes and include tests to validate the success of each task. Tests are writing in Jest.

Primary LanguageJavaScript

8th Light - tech screen coding challenge

Getting Started

Run npm install

Running Tests

Run npm test

Notes

- I ran out of time to write more inclusive tests at the end. 
- But given more time could spend time writing tests checking for type and validating that values are in the expected shape.

Question

Q) How might your design differ if the list of specialties was expected to never change? What if it changes frequently?

A) If the list never changed you could set it up as a keyed object which would make retreival of the corresponding value much faster and effective.