30days Ts Array

Practice Problems
← Back to Courses
TitleDifficultyTagsAction
Two Sum

Given an array of numbers, return indices of the two numbers such that they add up to a specific target.

Beginner
#array#hashmap
Open →
Maximum Subarray Sum

Find the contiguous subarray with the largest sum.

Intermediate
#array#dp
Open →
Remove Duplicates from Sorted Array

Remove duplicates in-place from a sorted array.

Beginner
#array
Open →
Rotate Array

Rotate an array to the right by k steps.

Intermediate
#array
Open →
Contains Duplicate

Check if any value appears at least twice in the array.

Beginner
#array#set
Open →
Single Number

Find the element that appears only once.

Beginner
#array#xor
Open →
Move Zeroes

Move all zeroes to the end while maintaining the order of non-zero elements.

Beginner
#array
Open →
Plus One

Given a non-empty array of digits, increment one to the integer.

Beginner
#array
Open →
Intersection of Two Arrays II

Find the intersection of two arrays.

Intermediate
#array#hashmap
Open →
Missing Number

Find the missing number in the array.

Intermediate
#array
Open →
Find the Duplicate Number

Find the duplicate number in an array containing n+1 integers.

Advanced
#array#cycle
Open →