Coding Problems

Combine two strings into one

Not Started
String 1000ms

Maximize profit with 1 day cooldown after sell

Not Started
Arrays 1000ms

Detect if there is a cycle in circular array (forward/backward moves)

Not Started
Arrays 1000ms

Find shortest subarray that if sorted would make entire array sorted

Not Started
Arrays 1000ms

Find maximum difference between successive elements in sorted form (O(n) time/space)

Not Started
Arrays 1000ms

Minimize largest sum when splitting array into m subarrays

Not Started
Arrays 1000ms

Find peak element in 2D array (greater than all neighbors)

Not Started
Arrays 1000ms

Reorder array so nums[0] ≤ nums[1] ≥ nums[2] ≤ nums[3]... (in-place)

Not Started
Arrays 1000ms

Check if array has continuous subarray of size ≥ 2 with sum multiple of k

Not Started
Arrays 1000ms

Count subarrays where sum is divisible by k

Not Started
Arrays 1000ms

Find k closest elements to target in sorted array

Not Started
Arrays 1000ms

Find maximum envelopes you can stack (one inside another)

Not Started
Arrays 1000ms

Find maximum sum subarray in circular array

Not Started
Arrays 1000ms

Count how many elements to the right are smaller than current element

Not Started
Arrays 1000ms

Find largest rectangular area under histogram

Not Started
Arrays 1000ms

Find max in each sliding window of size k (O(n) solution)

Not Started
Arrays 1000ms

Find median of two sorted arrays in O(log(min(m,n))) time

Not Started
Arrays 1000ms

Find least number of intervals to complete tasks with cooldown

Not Started
Arrays 1000ms

3Sum

Medium

Find all unique triplets that sum to zero

Not Started
Arrays 1000ms

Two Sum

Medium

Find indices of two numbers that add up to target value

Not Started
Arrays 1000ms