码迷,mamicode.com
首页 >  
搜索关键字:两指针法    ( 2个结果
LeetCode的medium题集合(C++实现)九
1 Jump Game Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determ...
分类:编程语言   时间:2015-05-21 12:48:33    阅读次数:144
Remove Nth Node From End of List ——解题报告
【题目】     Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1->2->3->4->5, and n = 2. After removing the second node from the ...
分类:其他好文   时间:2015-05-08 10:59:19    阅读次数:181
2条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!