Problems

Problems engineers are solving this week

Browse 164+ coding and system design problems. Screenshot any problem directly from your screen — CodeAndSystem.ai returns a working solution with complexity analysis in seconds.

Screenshot any problem directly from your screen and get a working solution in seconds.

Download Free Trial
Difficulty:
Tag:
142 problems
ProblemDifficultyFrequency
3Sum
Medium—
Add Two Numbers
Medium—
Alien Dictionary
Hard—
Balanced Binary Tree
Easy—
Best Time to Buy and Sell Stock
Easy—
Best Time to Buy and Sell Stock with Cooldown
Medium—
Binary Search
Easy—
Binary Tree Level Order Traversal
Medium—
Binary Tree Maximum Path Sum
Hard—
Binary Tree Right Side View
Medium—
Burst Balloons
Hard—
Car Fleet
Medium—
Cheapest Flights Within K Stops
Medium—
Climbing Stairs
Easy—
Clone Graph
Medium—
Coin Change
Medium—
Coin Change II
Medium—
Combination Sum
Medium—
Combination Sum II
Medium—
Construct Binary Tree from Preorder and Inorder Traversal
Medium—
Container With Most Water
Medium—
Contains Duplicate
Easy—
Copy List With Random Pointer
Medium—
Count Good Nodes in Binary Tree
Medium—
Counting Bits
Easy—
Course Schedule
Medium—
Course Schedule II
Medium—
Daily Temperatures
Medium—
Decode Ways
Medium—
Design Add and Search Words Data Structure
Medium—
Design Twitter
Medium—
Detect Squares
Medium—
Diameter of Binary Tree
Easy—
Edit Distance
Medium—
Encode and Decode Strings
Medium—
Evaluate Reverse Polish Notation
Medium—
Find Median from Data Stream
Hard—
Find Minimum in Rotated Sorted Array
Medium—
Find the Duplicate Number
Medium—
Gas Station
Medium—
Generate Parentheses
Medium—
Graph Valid Tree
Medium—
Group Anagrams
Medium—
Hand of Straights
Medium—
Happy Number
Easy—
House Robber
Medium—
House Robber II
Medium—
Implement Trie (Prefix Tree)
Medium—
Insert Interval
Medium—
Interleaving String
Medium—
Invert Binary Tree
Easy—
Jump Game
Medium—
Jump Game II
Medium—
K Closest Points to Origin
Medium—
Koko Eating Bananas
Medium—
Kth Largest Element in a Stream
Easy—
Kth Smallest Element in a BST
Medium—
Largest Rectangle in Histogram
Hard—
Last Stone Weight
Easy—
Letter Combinations of a Phone Number
Medium—
Linked List Cycle
Easy—
Longest Common Subsequence
Medium—
Longest Consecutive Sequence
Medium—
Longest Increasing Subsequence
Medium—
Longest Palindromic Substring
Medium—
Longest Repeating Character Replacement
Medium—
Longest Substring Without Repeating Characters
Medium—
Lowest Common Ancestor of a BST
Medium—
LRU Cache
Medium—
Max Area of Island
Medium—
Maximum Depth of Binary Tree
Easy—
Maximum Product Subarray
Medium—
Maximum Subarray
Medium—
Median of Two Sorted Arrays
Hard—
Meeting Rooms
Easy—
Meeting Rooms II
Medium—
Merge Intervals
Medium—
Merge K Sorted Lists
Hard—
Merge Triplets to Form Target Triplet
Medium—
Merge Two Sorted Lists
Easy—
Min Cost Climbing Stairs
Easy—
Min Cost to Connect All Points
Medium—
Min Stack
Medium—
Minimum Window Substring
Hard—
Missing Number
Easy—
Multiply Strings
Medium—
N-Queens
Hard—
Network Delay Time
Medium—
Non-overlapping Intervals
Medium—
Number of 1 Bits
Easy—
Number of Connected Components in an Undirected Graph
Medium—
Number of Islands
Medium—
Pacific Atlantic Water Flow
Medium—
Palindrome Partitioning
Medium—
Palindromic Substrings
Medium—
Partition Equal Subset Sum
Medium—
Partition Labels
Medium—
Permutation in String
Medium—
Permutations
Medium—
Plus One
Easy—
Pow(x, n)
Medium—
Product of Array Except Self
Medium—
Reconstruct Itinerary
Hard—
Regular Expression Matching
Hard—
Remove Nth Node From End of List
Medium—
Reorder List
Medium—
Reverse Bits
Easy—
Reverse Integer
Medium—
Reverse Linked List
Easy—
Reverse Nodes in k-Group
Hard—
Rotate Image
Medium—
Rotting Oranges
Medium—
Same Tree
Easy—
Search a 2D Matrix
Medium—
Search in Rotated Sorted Array
Medium—
Serialize and Deserialize Binary Tree
Hard—
Set Matrix Zeroes
Medium—
Single Number
Easy—
Sliding Window Maximum
Hard—
Spiral Matrix
Medium—
Subsets
Medium—
Subsets II
Medium—
Subtree of Another Tree
Easy—
Sum of Two Integers
Medium—
Surrounded Regions
Medium—
Swim in Rising Water
Hard—
Target Sum
Medium—
Task Scheduler
Medium—
Time Based Key-Value Store
Medium—
Top K Frequent Elements
Medium—
Trapping Rain Water
Hard—
Two Sum
Easy—
Unique Paths
Medium—
Valid Anagram
Easy—
Valid Palindrome
Easy—
Valid Parentheses
Easy—
Validate Binary Search Tree
Medium—
Walls and Gates
Medium—
Word Break
Medium—
Word Ladder
Hard—
Word Search
Medium—
Word Search II
Hard—

Stop copying problem text into ChatGPT.

Screenshot the problem. Get the solution. Stay on the problem page the entire time. Free trial — no card required.