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
91. Given a string, count the number of distinct characters in every window of size k.
92. Find the longest substring that contains all the letters of the alphabet.
93. Given an array, find the count of elements less than or equal to k in every window of size k.
94. Find the maximum length of a substring with an even number of distinct characters.
95. Given a string, find the longest substring that has balanced brackets.
96. Find the maximum number of vowels in any window of size k.
97. Count the number of substrings of a certain length that are anagrams of each other.
98. Given an array, find the smallest subarray that has at least k distinct elements.
99. Find the length of the longest substring that contains alternating characters.
100. Given a string, find the longest substring that starts and ends with the same character.
101. Find the maximum length of a contiguous subarray with odd sums.
102. Count the number of unique substrings in a given string using a sliding window.
103. Given an array, find the minimum length of a subarray that has an even sum.
104. Find the maximum number of characters in any substring that can be converted to lowercase.
105. Given a string, find the length of the longest substring that does not contain any digits.
106. Find the maximum sum of elements in every window of size k in a circular array.
107. Count the number of palindromic substrings of a certain length in a given string using sliding window.
108. Given an array, find the maximum length of a subarray with at least k odd numbers.
109. Find the longest substring of a string that contains at least one digit.
110. Given a string, find the minimum length of a substring that contains at least k unique characters.
111. Find the first k-length substring that contains no vowels.
112. Given an array, count the number of elements greater than or equal to k in every window of size k.
113. Find the length of the longest substring that contains at least k consecutive characters.
114. Given a string, count the number of distinct palindromic substrings in it.
115. Find the longest substring of a string that has no adjacent repeating characters.
116. Given an array, find the minimum number of swaps required to group all odd numbers together.
117. Find the maximum length of a contiguous subarray with even sums.
118. Count the number of unique substrings of a certain length in a given string using sliding window.
119. Given an array, find the maximum length of a subarray with at least k even numbers.
120. Find the longest substring of a string that contains at least one uppercase letter.
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.