2015年3月14日

LeetCode-87 Scramble String

摘要: Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation... 阅读全文

posted @ 2015-03-14 22:53 linxiong1991 阅读(160) 评论(0) 推荐(0) 编辑

LeetCode-164 Maximum Gap

摘要: Given an unsorted array, find the maximum difference between the successive elements in its sorted form.Try to solve it in linear time/space.Return 0 ... 阅读全文

posted @ 2015-03-14 21:12 linxiong1991 阅读(266) 评论(0) 推荐(0) 编辑

导航