題目:
The Employee table holds all employees including their managers. Every employee has an Id, and there is also a column for the manager Id.
Employee
+----+-------+--------+…
題目: 找出連續三次出現的數字
Write a SQL query to find all numbers that appear at least three times consecutively.
+----+-----+| Id | Num |+----+-----+| 1 | 1 || 2 | 1 || 3 | 1 || 4 | 2 || 5 | 1 || 6…
Input: l1 = [1,2,4], l2 = [1,3,4]Output: [1,1,2,3,4,4]
連接兩個List,數字由小至大。
思路:
1. l1,l2資料結構是ListNode