Question d’entretien chez Quora, Inc.

Explain your code and how would you test it