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: Array-question / Level: Intermediate
231. Write a program to find the longest repeating character in an array.
232. Write a program to implement a hash table using an array.
233. Write a program to find the unique elements in an array.
234. Write a program to find the smallest k elements in an array.
235. Write a program to find the longest palindrome substring in an array of characters.
236. Write a program to implement a queue using two stacks.
237. Write a program to find the largest rectangle in a histogram represented by an array.
238. Write a program to find all the leaders in an array.
239. Write a program to find all elements that appear more than n/3 times in an array.
240. Write a program to count the number of ways to reach the end of a given array.
241. Write a program to check if a 2D array is a symmetric matrix.
242. Write a program to find the longest increasing path in a matrix.
243. Write a program to find the count of subarrays with a given sum.
244. Write a program to find the longest common prefix among an array of strings.
245. Write a program to sort an array of 0s, 1s, and 2s.
246. Write a program to find the first index of an element that appears more than once.
247. Write a program to calculate the sum of all subarrays.
248. Write a program to find the maximum length of subarray with equal number of 0s and 1s.
249. Write a program to check if an array can be partitioned into two subsets with equal sum.
250. Write a program to implement a priority queue using an array.
251. Write a program to find the longest sequence of non-repeating characters.
252. Write a program to find the number of islands in a 2D grid.
253. Write a program to perform a left rotation on an array.
254. Write a program to find the number of unique paths in a grid.
255. Write a program to check if a matrix is a magic square.
256. Write a program to find the kth largest element in an array.
257. Write a program to create a histogram from an array of values.
258. Write a program to flatten a 2D array into a 1D array.
259. Write a program to check if a number is present in a sorted array using binary search.
260. Write a program to find the longest zigzag sequence in an array.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Advanced
Most Visited
Write a program to find the maximum element in an array.
Write a program to find the minimum element in an array.
Write a program to find the mode of an array.
Write a program to find the maximum sum of a row in a 2D array.
Write a program to find the mode of an array of numbers.
Write a program to find the longest consecutive sequence in an unsorted array.
Write a program to find all elements that appear more than n/3 times in an array.
Write a program to find the number of ways to reach the nth step with 1, 2, or 3 steps.
Write a program to calculate the sum of all elements in an array.
Write a program to find the number of paths from the top-left to the bottom-right of a grid.
Write a program to create an array from a string input.
Write a program to find the number of uppercase letters in each string of an array.
Write a program to calculate the cumulative sum of an array.
Write a program to implement a dynamic array that resizes automatically.
Write a program to rotate an array to the right by k positions.