Array

Arrays, 2D matrices, two pointers & prefix sums

24 Problems
⌘K
#
Problem
Difficulty
Actions
01.
Set Matrix Zeros
Medium
02.
Pascal's Triangle
Easy
03.
Next Permutation
Medium
04.
Kadane's Algorithm
Medium
05.
Sort an array of 0's, 1's, and 2's
Medium
06.
Stock Buy and Sell
Easy
07.
Rotate Matrix
Medium
08.
Merge Overlapping Subintervals
Medium
09.
Merge two sorted Arrays without extra space
Medium
10.
Find the duplicate in an array of N+1 integers
Medium
11.
Repeat and Missing Number
Medium
12.
Inversion of Array
Hard
13.
Search in a 2D Matrix
Medium
14.
Pow(x, n)
Medium
15.
Majority Element (>N/2 times)
Easy
16.
Majority Element (>N/3 times)
Medium
17.
Grid Unique Paths
Medium
18.
Reverse Pairs
Hard
19.
2-Sum Problem
Easy
20.
4-Sum Problem
Medium
21.
Longest Consecutive Sequence
Medium
22.
Largest Subarray with 0 sum
Medium
23.
Count number of subarrays with given XOR
Medium
24.
Longest Substring without repeat
Medium