摘要: Populating Next Right Pointers in Each NodeGiven a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLi... 阅读全文
posted @ 2015-06-16 23:34 `Liok 阅读(357) 评论(0) 推荐(0) 编辑
摘要: Text JustificationGiven an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) just... 阅读全文
posted @ 2015-06-16 00:29 `Liok 阅读(421) 评论(0) 推荐(0) 编辑