Question d’entretien chez Prudential

A coding challenge asking me to implement some DSA.