Priori Legal interview question

Small straightforward take home coding challenge