摘要: leetcode -Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST./... 阅读全文
posted @ 2015-08-21 23:38 cnblogshnj 阅读(113) 评论(0) 推荐(0) 编辑
摘要: leetcode -Valid AnagramGiven two stringssandt, write a function to determine iftis an anagram ofs.For example,s= "anagram",t= "nagaram", return true.s... 阅读全文
posted @ 2015-08-21 22:47 cnblogshnj 阅读(127) 评论(0) 推荐(0) 编辑