Showing 3 of 245 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
Transform an array by replacing each number with its rank. Larger numbers get higher ranks, and equal numbers get the same rank.
#2. Rank Transform of an Array
Find the longest palindromic substring within a given string. A palindromic substring reads the same forwards and backward.
#3. Longest Palindromic Substring
Page 1 of 1 · 245 total