DevPath

Coding problems

107 original interview-style problems, each with worked solutions in five languages and public checks you can run.

107 problems
Easy
Contains Duplicate arrays · hashing
go javascript php python typescript
Easy
Two Sum arrays · hashing
go javascript php python typescript
Easy
Best Time to Buy and Sell Stock arrays · greedy
go javascript php python typescript
Easy
Running Sum of an Array arrays · prefix-sum
go javascript php python typescript
Easy
Move Zeroes arrays · two-pointers
go javascript php python typescript
Medium
Rotate Array Right arrays
go javascript php python typescript
Medium
Product of Array Except Self arrays · prefix-sum
go javascript php python typescript
Easy
Majority Element arrays
go javascript php python typescript
Easy
Missing Number arrays · math
go javascript php python typescript
Medium
Count Anagram Groups arrays · hashing · strings
go javascript php python typescript
Easy
Valid Palindrome strings · two-pointers
go javascript php python typescript
Medium
Container With Most Water arrays · two-pointers
go javascript php python typescript
Medium
Count Zero-Sum Triplets arrays · two-pointers
go javascript php python typescript
Easy
Remove Duplicates From Sorted Array arrays · two-pointers
go javascript php python typescript
Medium
Longest Substring Without Repeating Characters strings · sliding-window
go javascript php python typescript
Easy
Maximum Sum Subarray of Size K arrays · sliding-window
go javascript php python typescript
Easy
Sort Array By Parity arrays · two-pointers
go javascript php python typescript
Easy
Valid Parentheses stack · strings
go javascript php python typescript
Medium
Evaluate Reverse Polish Notation stack · math
go javascript php python typescript
Medium
Daily Temperatures stack · arrays
go javascript php python typescript
Hard
Largest Rectangle in Histogram stack · arrays
go javascript php python typescript
Hard
Sliding Window Maximum queue · arrays · sliding-window
go javascript php python typescript
Easy
Next Greater Element stack · arrays
go javascript php python typescript
Easy
Reverse a Linked List linked-list · two-pointers
go javascript php python typescript
Easy
Merge Two Sorted Lists linked-list · two-pointers
go javascript php python typescript