Problem 1940 · Medium

Longest Common Subsequence Between Sorted Arrays

Find the values that appear in every one of several strictly increasing arrays and return them in sorted order. The visual shows parallel sorted arrays with pointers advancing and a value highlighted once all pointers agree.

Open the interactive visualisation