LloydsDirect interview question

Questions about why I coded things the way I did