lists, a list of integer lists; no number repeats within a single list.
Find the numbers that appear in every one of the lists and return them in increasing order. If there are none, return an empty list.lists=[[4, 9, 2], [9, 7, 4, 1], [3, 4, 9]] → [4, 9]
Both 4 and 9 appear in all three lists; no other number does. In increasing order: [4, 9].
lists=[[5, 6], [7]] → []
There are no common numbers, so the answer is empty.
lists=[[8, 3, 5]] → [3, 5, 8]
With a single list, all of its numbers qualify, sorted.
lists) ≤ 1000lists[i][j] ≤ 1000lists[i] are distinctlists=[[4, 9, 2], [9, 7, 4, 1], [3, 4, 9]]
[4, 9]
Run checks the first 3 tests in your browser. Submit checks all 96 tests on the server, hidden ones included.