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
490. Write a program to calculate the maximum length of subarrays with a sum less than a target.
491. Write a program to check if a binary array contains a contiguous subarray of size at least 2 with an equal number of 0s and 1s.
492. Write a program to find the longest valid parentheses substring using an array.
493. Write a program to calculate the maximum length of a contiguous subarray with equal numbers of 0s and 1s.
494. Write a program to check if a sequence can be divided into two subsequences with equal sum.
495. Write a program to find the sum of the first n elements in an array.
496. Write a program to find the longest common prefix of an array of strings.
497. Write a program to calculate the number of valid anagrams in an array.
498. Write a program to find the longest substring without repeating characters.
499. Write a program to calculate the maximum length of subarrays with at most k distinct elements.
500. Write a program to find the minimum sum of two numbers in an array.
501. Write a program to implement a binary heap using an array.
502. Write a program to check if two arrays are equal when one is rotated.
503. Write a program to find the maximum distance between two occurrences of the same element in an array.
504. Write a program to find all subsets of a given array.
505. Write a program to count the number of valid anagrams in an array.
506. Write a program to find the longest increasing subsequence in a given sequence of characters.
507. Write a program to find the maximum frequency of any element in an array.
508. Write a program to check if a binary array contains a contiguous subarray of size at least 2 with an equal number of 0s and 1s.
509. Write a program to find the longest valid parentheses substring using an array.
510. Write a program to find the number of subarrays whose sum is divisible by a given number.
511. Write a program to find the longest substring with at most k distinct characters in a string.
512. Write a program to find the longest increasing subsequence of a given array of numbers.
513. Write a program to find the maximum product of a contiguous subarray.
514. Write a program to find the minimum sum of two numbers in an array.
515. Write a program to find the longest alternating subsequence in an array.
516. Write a program to check if an array can be divided into two subsets with equal sum.
517. Write a program to implement the Merge Sort algorithm on an array.
518. Write a program to find the number of ways to reach the nth stair using 1 or 2 steps.
519. Write a program to find the longest sequence of increasing numbers in an array.
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.