摘要:
Given a list, rotate the list to the right bykplaces, wherekis non-negative.For example:Given1->2->3->4->5->NULLandk=2,return4->5->1->2->3->NULL.将链表从右... 阅读全文
posted @ 2015-12-22 22:09
eversliver
阅读(251)
评论(0)
推荐(0)
摘要:
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[... 阅读全文
posted @ 2015-12-22 10:11
eversliver
阅读(683)
评论(0)
推荐(0)

浙公网安备 33010602011771号