Coding problems
107 original interview-style problems, each with worked solutions in five languages and public checks you can run.
Easy
Single Number
bit-manipulation
go
javascript
php
python
typescript
Easy
Hamming Distance
bit-manipulation
go
javascript
php
python
typescript
Easy
Power of Two
bit-manipulation · math
go
javascript
php
python
typescript
Medium
Reverse Words in a String
strings
go
javascript
php
python
typescript
Easy
Longest Common Prefix
strings
go
javascript
php
python
typescript
Easy
First Unique Character
strings · hashing
go
javascript
php
python
typescript
Easy
Roman to Integer
strings · math
go
javascript
php
python
typescript
Medium
Jump Game
greedy · arrays
go
javascript
php
python
typescript
Medium
Gas Station
greedy · arrays
go
javascript
php
python
typescript
Easy
Assign Cookies
greedy · sorting
go
javascript
php
python
typescript
Medium
Non-overlapping Intervals
greedy · intervals
go
javascript
php
python
typescript
Medium
Minimum Meeting Rooms
intervals · sorting
go
javascript
php
python
typescript
Medium
Kth Largest Element
heap · sorting
go
javascript
php
python
typescript
Easy
Sum of the K Largest Elements
heap · arrays
go
javascript
php
python
typescript
Easy
Last Stone Weight
heap · simulation
go
javascript
php
python
typescript
Easy
Third Maximum Number
arrays · sorting
go
javascript
php
python
typescript
Easy
Longest Palindrome Length
strings · greedy
go
javascript
php
python
typescript
Easy
Count Subsets
backtracking · math
go
javascript
php
python
typescript
Easy
Count Permutations
backtracking · math
go
javascript
php
python
typescript
Medium
Count Combinations That Sum to Target
backtracking · dynamic-programming
go
javascript
php
python
typescript
Medium
Count Distinct Combinations (Each Used Once)
backtracking
go
javascript
php
python
typescript
Medium
Letter Combinations Count
backtracking · strings
go
javascript
php
python
typescript
Medium
Count Balanced Parentheses
backtracking · math
go
javascript
php
python
typescript
Hard
N-Queens Count
backtracking
go
javascript
php
python
typescript
Medium
Count Distinct Subsets
backtracking
go
javascript
php
python
typescript