Recent posts

LeetCode 2392. Build a Matrix With Conditions

周賽308。其實算是很簡單的Q4,但我沒看出來是拓樸排序,在那邊貪心半天。賽後看到知道是拓樸排序就馬上寫出來了,好冤。