All Problems
11 problems1
Sliding Window Introduction Identification And Types - Intro 1
Given an array of integers Arr and a number k, return the maximum sum of a subarray of size k using a brute force approach.
Easy
Not Attempted
Video
2
Sliding Window Introduction Identification And Types - Intro 2
Given an array of integers Arr and a number k, return the maximum sum of a subarray of size k using a brute force approach.
Easy
Not Attempted
Video
3
Maximum Sum Subarray of size K
Given an array of integers Arr and a number k, return the maximum sum of a subarray of size k.
Easy
Not Attempted
Video
4
First Negative Integer in Every Window of Size K
Given an array and a positive integer k, find the first negative number in every window of size k. If a window does not contain a negative number, print 0 for that window.
Medium
Not Attempted
Video
5
Count Occurrences of Anagrams
Given a word and a text, return the count of occurrences of anagrams of the word within the text.
Medium
Not Attempted
Video
6
Maximum of all subarrays of size k
Given an array of integers and a number k, find the maximum for each and every contiguous subarray of size k.
Hard
Not Attempted
Video
7
Longest Subarray of sum K
Given an array containing N positive integers and an integer K, your task is to find the length of the longest Sub-Array with the sum of the elements equal to the given value K.
Medium
Not Attempted
Video
8
Longest Subarray with K Unique Characters
Given a string, find the length of the longest substring that contains at most K unique characters.
Medium
Not Attempted
Video
9
Longest Substring with No Repeating Characters
Given a string, find the length of the longest substring without repeating characters.
Medium
Not Attempted
Video
10
Pick Toys
Given a string representing a long trail of toys, and an integer K=2, find the maximum number of toys you can pick up, given that you can only pick at most two types of toys.
Medium
Not Attempted
Video
11
Minimum Window Substring
Given two strings, s and t, find the minimum window in s which will contain all the characters in t in complexity O(n).
Hard
Not Attempted
Video
