Open Evidence interview question

At home coding exercise for sf