摘要:
Given a string containing only digits, restore it by returning all possible valid IP address combinations. Example: 题目大意: 给定一个字符串,返回可能的ip列表 解法: 采用dfs方 阅读全文
摘要:
A message containing letters from A-Z is being encoded to numbers using the following mapping: Given a non-empty string containing only digits, determ 阅读全文
摘要:
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. You should preserve the 阅读全文
摘要:
The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integer n representing the total numb 阅读全文