摘要: https://leetcode.com/problems/gray-code/ The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-nega 阅读全文
posted @ 2018-11-21 20:19 丧心病狂工科女 阅读(146) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has t 阅读全文
posted @ 2018-11-21 18:26 丧心病狂工科女 阅读(136) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/sort-colors/ Given an array with n objects colored red, white or blue, sort them in-place so that objects of the same co 阅读全文
posted @ 2018-11-21 17:44 丧心病狂工科女 阅读(74) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median o 阅读全文
posted @ 2018-11-21 11:55 丧心病狂工科女 阅读(103) 评论(0) 推荐(0) 编辑