
Given a square matrix, determine whether all elements on its main diagonal are identical. LeetCode 346. Moving Average from Data Stream – design a class MovingAverage with a fixed-size sliding window that returns the moving average for each new integer added. LeetCode 480. Sliding Window Median – given an integer array nums and a window size k, return an array containing the median of each sliding window.
https://leetcode.com/problems/moving-average-from-data-stream/description/ https://leetcode.com/problems/sliding-window-median/description/