摘要: Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up 阅读全文
posted @ 2017-02-21 13:47 lettuan 阅读(332) 评论(0) 推荐(0)
摘要: Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". Update (2015-02-12): For C 阅读全文
posted @ 2017-02-21 04:21 lettuan 阅读(101) 评论(0) 推荐(0)