Question d’entretien chez eBay

Easy string questions using dynamic programming.