Problem of The Day: Find Median from Data Stream
Problem Statement ``` The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is...
Problem Statement ``` The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is...
Problem Statement ``` Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.
Problem Statement ``` Given an integer array nums and an integer k, return the k most frequent elements. You may return the answer in any order.
Problem Statement ``` Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k.
Problem Statement ``` You are given a string s. We want to partition the string into as many parts as possible so that each letter appears in at most one par...