Hinge interview question

STAR style interview questions. Some coding