摘要:
Given a string containing only digits, restore it by returning all possible valid IP address combinations. 阅读全文
摘要:
Reverse a linked list from position m to n. Do it in-place and in one-pass. 阅读全文
摘要:
Given a collection of integers that might contain duplicates, S, return all possible subsets. 阅读全文
摘要:
Given an encoded message containing digits, determine the total number of ways to decode it. 阅读全文
摘要:
The gray code is a binary numeral system where two successive values differ in only one bit. 阅读全文
摘要:
Given two sorted integer arrays A and B, merge B into A as one sorted array. 阅读全文
摘要:
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. 阅读全文
摘要:
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively. 阅读全文