Given a set of distinct positive integers, find the largest subset such ...
Given a linked list, reverse the nodes of a linked list k at a time and ...
Given n pairs of parentheses, write a function to generate all combinati...
Given an array of integers, return indices of the two numbers such that ...
Determine whether an integer is a palindrome. Do this without extra spac...
Reverse digits of an integer.Example1: x = 123, return 321Example2: x = ...
The string "PAYPALISHIRING" is written in a zigzag pattern on a given nu...
Find the kth largest element in an unsorted array. Note that it is the k...
题目Given n points on a 2D plane, find the maximum number of points that l...
文集作者