Median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value. So the median is the mean of the tw...
Given an array nums, there is a sliding window of size k which is moving from the very left of the array to the very right. You can only see the k nu...
There is a garden with N slots. In each slot, there is a flower. The N flowers will bloom one by one in N days. In each day, there will be exactly on...