AniketTheProgrammer
Home
(current)
Courses
Projects
YT Projects
Coding Questions
Notification
Contact Us
Log In
All Topics
C Language
C++ Language
Greedy Algorithm
Hashing
Java Language
Linked List
Python
Queue
Stack
String
Sorting
Searching
Recursion
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Binary Tree
Topic: Sliding-window-technique-question / Level: Beginner
121. Given a string, find the minimum length of a substring that contains all characters of another string.
122. Find the length of the longest substring of a string that contains only special characters.
123. Given an array, find the count of positive elements in every window of size k.
124. Find the maximum length of a contiguous subarray with odd sums.
125. Given a string, find the longest substring that contains the same character repeated.
126. Find the longest substring of a string that has an odd number of distinct characters.
127. Given an array, find the minimum length of a subarray that has an odd sum.
128. Find the length of the longest substring that has balanced brackets.
129. Given a string, find the maximum number of distinct characters in any substring of length k.
130. Count the number of palindromic substrings of a certain length in a given string using sliding window.
131. Given an array, find the maximum length of a subarray that contains only prime numbers.
132. Find the longest substring of a string that has at least one digit.
133. Given a string, find the longest substring that starts and ends with different characters.
134. Find the minimum length of a substring that contains at least k unique characters.
135. Given an array, count the number of elements less than or equal to k in every window of size k.
136. Find the maximum number of vowels in any substring of length k.
137. Count the number of distinct palindromic substrings in a given string using sliding window.
138. Given a string, find the longest substring that does not contain any special characters.
139. Find the longest substring of a string that contains at least k consonants.
140. Given an array, find the maximum length of a contiguous subarray with at least k even numbers.
141. Find the length of the longest substring of a string that contains both uppercase and lowercase letters.
142. Given a string, find the maximum sum of the ASCII values of characters in a substring of length k.
143. Find the minimum number of characters to be removed to make a string a palindrome using a sliding window.
144. Count the number of unique substrings of a certain length in a given string.
145. Given an array, find the smallest subarray that has an odd sum.
146. Find the longest substring of a string that contains only one character type.
147. Find the length of the longest substring that contains no digits.
148. Find the maximum number of characters in any substring that can be converted to uppercase.
149. Find the length of the longest substring that contains only digits.
150. Given a string, find the longest substring of a string that contains both uppercase and lowercase letters.
Previous
1
2
3
4
5
6
7
Next
More Levels
Intermediate
Advanced
Most Visited
Given an array, find the maximum length of a contiguous subarray that contains k positive integers.
Given an array, return the maximum number of consecutive ones in it.
Given an array, count the number of elements less than or equal to k in every window of size k.
Given an array, find the smallest subarray with a sum greater than a given value.
Given an array, find the maximum length of a contiguous subarray that contains at least one positive number.
Given an array, return the sum of all elements in every window of size k.
Given an array, find the maximum length of a contiguous subarray that contains exactly k even numbers.
Find the maximum product of a subarray of size k.
Find the longest substring of a string that contains the same number of 0s and 1s.
Find the average of all contiguous subarrays of size k.
Given an array, find the maximum length of a subarray that contains all elements equal.
Count all substrings of a string that contain at most k characters.
Given an array, find the maximum length of a contiguous subarray with all even numbers.
Find the maximum number of consecutive characters in a string.
Given a string, find the length of the longest substring that contains only digits.