Add Two Numbers
Add two numbers represented as linked lists where digits are stored in reverse order
Evaluate Reverse Polish Notation
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Expression Evaluation
Evaluate mathematical expressions with proper operator precedence and parentheses.
Find Missing Number (1 to n)
Find the missing number in an array containing n distinct numbers taken from 1, 2, 3, ..., n+1
Missing Number
Find the missing number in an array containing n distinct numbers taken from 0, 1, 2, ..., n.
Power of Two
Check if a given integer is a power of two.
Product of Array Except Self
Return an array where each element is the product of all elements except the element at that index.
Single Number
Find the single number that appears once in an array where every other number appears twice.
Task Scheduler
Find the minimum number of intervals the CPU will take to finish all given tasks with a cooldown period between identical tasks
Ugly Number II (LC 264) — Min-Heap + HashSet (Medium)
What is an ugly number? Solve n-th ugly number (2,3,5) with PriorityQueue + HashSet dedupe. O(n log n). Step-by-step—practice now.