摘要: The problem:Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2... 阅读全文
posted @ 2015-01-16 01:35 airforce 阅读(213) 评论(0) 推荐(0) 编辑
摘要: The problem:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the l... 阅读全文
posted @ 2015-01-16 00:01 airforce 阅读(126) 评论(0) 推荐(0) 编辑