
Reserve
所难
这个作者很懒,什么都没留下…
展开
-
LeetCode-Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".click to show clarification.Clarification:What constitutes原创 2014-07-28 11:02:49 · 605 阅读 · 0 评论 -
LeetCode-Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For example,Given {1,2,3,4}, reorder it to原创 2014-07-29 09:33:01 · 381 阅读 · 0 评论