- 博客(6)
- 收藏
- 关注
原创 3. Longest Substring Without Repeating Characters
原题地址Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb", the a
2017-03-02 15:25:58 234
原创 阿里2017实习机试题——纯数字字符串恢复到非私有网段地址组合
题目:给定一组只包含数字的字符串,请恢复到有效的非私有网段地址组合。私有IP地址范围:A类:10.0.0.0--10.255.255.255B类:172.16.0.0--172.31.255.255C类:192.168.0.0--192.168.255.255类似于LeetCode 93题:Restore IP Addresses采用的是比较暴力的方法。
2017-03-01 22:26:03 435
原创 93. Restore IP Addresses
原题地址Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given "25525511135",return ["255.255.11.135", "255.255.111.35"
2017-03-01 22:03:34 147
原创 2. Add Two Numbers
原题地址You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers an
2017-03-01 19:46:31 166
原创 1. Two Sum
原题地址Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not u
2017-03-01 17:04:23 208
原创 83. Remove Duplicates from Sorted List
原题地址Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, return 1->2->3./** * De
2017-03-01 16:40:56 185
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人