2015年3月19日

ZigZag Conversion

摘要: ZigZag Conversion问题:The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like this: (you may want to display this patter... 阅读全文

posted @ 2015-03-19 16:55 zhouzhou0615 阅读(249) 评论(0) 推荐(0) 编辑

Reverse Nodes in k-Group

摘要: Reverse Nodes in k-Group问题:Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is no... 阅读全文

posted @ 2015-03-19 16:15 zhouzhou0615 阅读(116) 评论(0) 推荐(0) 编辑

Word Break

摘要: Word Break问题:Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary wor... 阅读全文

posted @ 2015-03-19 15:11 zhouzhou0615 阅读(132) 评论(0) 推荐(0) 编辑

Largest Number

摘要: Largest Number问题:Given a list of non negative integers, arrange them such that they form the largest number.For example, given[3, 30, 34, 5, 9], the l... 阅读全文

posted @ 2015-03-19 14:12 zhouzhou0615 阅读(215) 评论(0) 推荐(0) 编辑

导航