Coding Challenge Solution Document the coding challenge I encountered, also write unit test to cover it