Given a set of candidate numbers (candidates) (without duplicates) and a...
Roman numerals are represented by seven different symbols: I, V, X, L, C...
Roman numerals are represented by seven different symbols: I, V, X, L, C...
Implement strStr(). Return the index of the first occurrence of needle i...
Given a string, find the length of the longest substring without repeati...
Given a string s, find the longest palindromic substring in s. You may a...
The string "PAYPALISHIRING" is written in a zigzag pattern on a given nu...
Determine whether an integer is a palindrome. An integer is a palindrome...
Given a 32-bit signed integer, reverse digits of an integer. Example 1: ...