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.
Ugly Numbers (Heap-based)
Find the nth ugly number using heap-based approach