GitHub

List of Exercises

Contains Duplicate
Check if array contains any duplicate values
easy
View Contains Duplicate
Create Hello World Function
Return a function that always returns "Hello World"
easy
View Create Hello World Function
Reverse Linked List
Reverse a singly linked list
easy
View Reverse Linked List
Two Sum
Find two numbers that add up to a target value
easy
View Two Sum
Valid Anagram
Check if two strings are anagrams
easy
View Valid Anagram
3Sum
Find all unique triplets that sum to zero
medium
View 3Sum
Debounce Function
Implement a debounce function that delays execution
medium
View Debounce Function
Group Anagrams
Group strings that are anagrams of each other
medium
View Group Anagrams
Maximum Subarray
Find the contiguous subarray with the largest sum
medium
View Maximum Subarray
Merge Intervals
Merge overlapping intervals
medium
View Merge Intervals
Product of Array Except Self
Calculate product of all elements except self
medium
View Product of Array Except Self
Top K Frequent Elements
Find the k most frequent elements in an array
medium
View Top K Frequent Elements
Valid Sudoku
Check if a Sudoku board is valid according to Sudoku rules
medium
View Valid Sudoku
Longest Increasing Subsequence
Find the length of the longest strictly increasing subsequence
hard
View Longest Increasing Subsequence