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 numbers in th...
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from rob...