摘要: Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays. The overall run time complexity shou 阅读全文
posted @ 2015-04-29 14:37 Grandyang 阅读(80936) 评论(40) 推荐(6) 编辑
摘要: Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc 阅读全文
posted @ 2015-04-29 13:49 Grandyang 阅读(21073) 评论(14) 推荐(4) 编辑
摘要: Open VS2010, create a new project, then open Property Manager, double-click Microsoft.Cpp.win32.user, open the Property Pages. Then go to VC++ Directo 阅读全文
posted @ 2015-04-29 04:16 Grandyang 阅读(1319) 评论(0) 推荐(0) 编辑
摘要: Given a string s, return the longest palindromic substring in s. Example 1: Input: s = "babad" Output: "bab" Explanation: "aba" is also a valid answer 阅读全文
posted @ 2015-04-29 00:09 Grandyang 阅读(80545) 评论(31) 推荐(4) 编辑
Fork me on GitHub