EdocGram
Home
(current)
Topics
EdocAI
Code Editor
HTML
Javascript
PHP
Python
Python AI Code Editor
More
Contact
About
Privacy Policy
Terms and Conditions
Log In
Topic
View
More
Topic
Hashing
Linked List
Queue
Stack
Backtracking
Dynamic Programming
Graph Theory
Bit Manipulation
Mathematics
Sliding Window Technique
Divide And Conquer
Matrix Manipulation
Two Pointers
Tree
Topic: array-problem / Level: beginner
201. Find the minimum element in an array that is greater than a given value x.
202. Check if the sum of the elements in an array is odd or even.
203. Count the number of subarrays where all elements are odd.
204. Find the number of elements in an array that are multiples of both 3 and 5.
205. Find the longest subarray that contains no negative elements.
206. Find the maximum sum of elements in a subarray of size k.
207. Count how many times each distinct element appears in an array.
208. Check if two arrays are permutations of each other.
209. Find the maximum absolute difference between two elements in an array.
210. Find the element in an array that is closest to a given number x.
211. Check if an array is the reverse of another array.
212. Find the longest subarray where the sum of elements is less than a given value x.
213. Split an array into two subarrays such that the difference between their sums is minimized.
214. Find the smallest prime number greater than a given element in an array.
215. Find the largest composite number smaller than a given element in an array.
216. Check if all elements in an array are powers of two.
217. Count the number of distinct elements in a 2D array.
218. Find the longest sequence of consecutive even numbers in an array.
219. Find the longest sequence of consecutive odd numbers in an array.
220. Check if an array contains consecutive integers.
221. Find the number of elements that appear an odd number of times in an array.
222. Find the number of elements that appear an even number of times in an array.
223. Replace all prime numbers in an array with -1.
224. Find the largest prime factor of each element in an array.
225. Check if all elements in an array are perfect squares.
226. Find the sum of all perfect square numbers in an array.
227. Count how many times the minimum element appears in an array.
228. Find the number of elements in an array that are divisible by their index.
229. Find the number of elements in an array that are divisible by the index of the element after them.
230. Find the row in a 2D array that has the most negative numbers.
231. Find the largest sum of any k consecutive elements in an array.
232. Find the smallest product of any k consecutive elements in an array.
233. Count how many elements in an array are divisible by either 3 or 7.
234. Find the row in a 2D matrix where all elements are positive.
235. Check if an array contains more even numbers than odd numbers.
236. Find the sum of all elements in an array that are perfect cubes.
237. Count the number of subarrays where the sum of elements is even.
238. Find the largest contiguous subarray with all elements greater than a given number x.
239. Find the sum of elements at prime indices in an array.
240. Find the product of elements at non-prime indices in an array.
241. Find the number of subarrays whose product is odd.
242. Find the number of subarrays whose product is even.
243. Find the sum of the middle three elements of an array.
244. Check if an array contains any duplicate consecutive elements.
245. Check if the first half of an array is a mirror image of the second half.
246. Find the sum of all prime numbers at even indices in an array.
247. Find the number of elements in an array that are multiples of a given value n.
248. Check if an array is sorted in strictly decreasing order.
249. Count the number of prime elements in each row of a 2D array.
250. Find the row with the most prime numbers in a 2D matrix.
Previous
1
...
4
5
6
...
20
Next
More Levels
Intermediate
Advanced
Aniket The Programmer
This website is managed by aniket the programmer :)
Website
Instagram