Infosys interview question

Longest Common Subsequence Level Order Traversal