题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this ...
题目: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this ...
题目: Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors ...
题目: There are two sorted arrays A and B of size m and n respectively. Find the median of the two sor ...
题目: Design and implement a data structure for Least Recently Used (LRU) cache. It should support t ...
题目: Implement strStr(). Returns a pointer to the first occurrence of needle in haystack, or nu ...
题目: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input ...
题目: Given an array of integers, find two numbers such that they add up to a specific target number ...
题目: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find a ...
题目: Given a string s, partition s such that every substring of the partition is a palindrome. R ...
题目: A message containing letters from A-Z is being encoded to numbers using the following mapping: ...