Magic Spells

  • + 0 comments

    The question actually contains two parts. One is to practice how to use dynamic casting, the other is to practice the algorithm of how to find the longest common sequence of two strings. Search online for the longest common sequence algorithm and understand the underlying method, and you could solve this challenge!