Question d’entretien chez Amazon

Design an algorithm to find the common sequence of two strings