Truist interview question

Have you implemented the solution before?