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: Advanced
400. Write a program to find the longest consecutive sequence in an unsorted array.
401. Write a program to find the maximum product of three numbers in an array.
402. Write a program to find all unique triplets in an array that sum to zero.
403. Write a program to sort an array of 0s, 1s, and 2s.
404. Write a program to find the intersection of two arrays.
405. Write a program to find the k-th largest element in an array.
406. Write a program to rotate a matrix 90 degrees clockwise.
407. Write a program to merge two sorted arrays into one sorted array.
408. Write a program to find the longest subarray with a sum equal to a target value.
409. Write a program to find the maximum length of subarrays with at most k distinct elements.
410. Write a program to find the first missing positive integer in an unsorted array.
411. Write a program to count the number of inversions in an array.
412. Write a program to find all permutations of a given array.
413. Write a program to find the longest increasing subsequence in an array.
414. Write a program to find the maximum sum rectangle in a 2D array.
415. Write a program to find the longest valid parentheses substring using an array.
416. Write a program to find the median of two sorted arrays.
417. Write a program to find the longest subsequence such that every two adjacent elements are not in increasing order.
418. Write a program to find the maximum product subarray.
419. Write a program to check if a subarray with a sum equals a given value exists.
420. Write a program to find the minimum window substring containing all characters of another string.
421. Write a program to implement the "two pointers" technique to find pairs in an array.
422. Write a program to find the longest common subsequence of two sequences.
423. Write a program to determine the maximum sum of non-adjacent elements in an array.
424. Write a program to find the longest path in a directed acyclic graph.
425. Write a program to calculate the minimum number of jumps to reach the end of an array.
426. Write a program to check if a given array can be partitioned into two subsets with equal sum.
427. Write a program to find the smallest range that includes at least one number from each of the k lists.
428. Write a program to implement a circular array.
429. Write a program to rotate an array to the right by k steps.
Previous
1
2
3
4
5
6
7
Next
More Levels
Beginner
Intermediate
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.