Amdocs interview question

Algorithms, design payterns