Given a arrays where each subarray arrays[i] is sorted in strictly increasing order, return an array containing the longest common subsequence present across all the given arrays.
The elements in the resulting array must also be in strictly increasing order.
Constraints:
arrays.length
arrays[i].length
arrays[i][j]
arrays[i] is sorted in strictly increasing order.
Given a arrays where each subarray arrays[i] is sorted in strictly increasing order, return an array containing the longest common subsequence present across all the given arrays.
The elements in the resulting array must also be in strictly increasing order.
Constraints:
arrays.length
arrays[i].length
arrays[i][j]
arrays[i] is sorted in strictly increasing order.