Description Implement next permutation, which rearranges numbers into the lexicographic...
Description Implement strStr(). Return the index of the first occurrence of needle in h...
Description Given an array and a value, remove all instances of that value in-place and...
Description Given a sorted array, remove the duplicates in-place such that each element...
Description Given a linked list, reverse the nodes of a linked list k at a time and ret...
Description Given a linked list, swap every two adjacent nodes and return its head. You...
Description Merge k sorted linked lists and return it as one sorted list. Analyze and d...
Description Given n pairs of parentheses, write a function to generate all combinations...
Description Merge two sorted linked lists and return it as a new list. The new list sho...
Description Given a string containing just the characters '(', ')', '{', '}', '[' and '...
Description Given a linked list, remove the nth node from the end of list and return it...
Description Given a digit string, return all possible letter combinations that the numb...
Description Given an array S of n integers, find three integers in S such that the sum ...
Description Write a function to find the longest common prefix string amongst an array ...