Metaswitch Interview Question

Why did you write the algorithms the way you did?