Two SumTotal Accepted: 262258Total Submissions: 1048169Difficulty: EasyGiven an array of integers, return indices of the two numbers such that they add up t...
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2->5->NULL...
题目没有说清楚,trick挺多,考察细心程度的水题吧。 You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their n......
Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After remo...