摘要:
You are given two linked lists representing two non-negative numbers.The digits are stored in reverse order and each of their nodes contain a single digit.Add the two numbers and return it as a linked list.Input:(2 -> 4 -> 3) + (5 -> 6 -> 4)Output:7 -> 0 -> 8---Solution1: iterative 阅读全文
posted @ 2013-08-29 12:40
LEDYC
阅读(179)
评论(0)
推荐(0)
摘要:
Problem:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with the lengt 阅读全文
posted @ 2013-08-29 12:16
LEDYC
阅读(184)
评论(0)
推荐(0)
浙公网安备 33010602011771号