摘要:
一次ACGiven a linked list, determine if it has a cycle in it.Follow up:Can you solve it without using extra space?/** * Definition for singly-linked lis... 阅读全文
posted @ 2013-12-11 11:51
海滨银枪小霸王
阅读(125)
评论(0)
推荐(0)
摘要:
一次AC关键是读懂题意记数方法基本字符IVXLCDM相应的阿拉伯数字表示为1510501005001000相同的数字连写,所表示的数等于这些数字相加得到的数,如:Ⅲ = 3;小的数字在大的数字的右边,所表示的数等于这些数字相加得到的数, 如:Ⅷ = 8;Ⅻ = 12;小的数字,(限于Ⅰ、X 和C)在... 阅读全文
posted @ 2013-12-11 02:47
海滨银枪小霸王
阅读(143)
评论(0)
推荐(0)
摘要:
Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor... 阅读全文
posted @ 2013-12-11 02:01
海滨银枪小霸王
阅读(113)
评论(0)
推荐(0)

浙公网安备 33010602011771号