167. Two Sum II – Input array is sorted-两数之和 II – 输入有序数组
给定一个已按照非递减顺序排列的整数数组numbers,请你从数组中找出两个数满足相加之和等于目标数target... » 阅读全文
给定一个已按照非递减顺序排列的整数数组numbers,请你从数组中找出两个数满足相加之和等于目标数target... » 阅读全文
Write a program to find the node at which the intersect... » 阅读全文
Design a stack that supports push, pop, top, and retrie... » 阅读全文
Given head, the head of a linked list, determine if the... » 阅读全文
Given a string, determine if it is a palindrome, consid... » 阅读全文
Say you have an array prices for which the ith element ... » 阅读全文
Given an integer rowIndex, return the rowIndex-th row o... » 阅读全文
Given a non-negative integer numRows, generate the firs... » 阅读全文
Given a binary tree and a sum, determine if the tree ha... » 阅读全文