Domanda di colloquio di Amazon

Design an algorithm to find the common sequence of two strings