Showing 3 of 1,916 questions
Find two numbers in a given array that add up to a specific target value, and return their indices. Essentially, you need to efficiently locate the pair that satisfies the sum requirement.
#1. Two Sum
Determine whether an integer is a palindrome. That is, it reads the same forwards and backward.
#2. Palindrome Number
You are given two linked lists, each representing a non-negative integer. Add the two numbers and return the sum as a linked list.
#3. Add Two Numbers