Prudential interview question

~20 minute coding challenge with video camera on