LeetCode
提供解,不一定是最优解,但一定是解。(笑)
hugh Lee
手下见真章
展开
-
581. Shortest Unsorted Continuous Subarray
题目: Given an integer array, you need to find one continuous subarray that if you only sort this subarray in ascending order, then the whole array will be sorted in ascending order, too. You need to原创 2018-01-11 20:12:35 · 612 阅读 · 0 评论 -
283.MoveZeroes
题目 283.MoveZeroes Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order of the non-zero elements. For example, given nums = [0, 1, 0,原创 2018-01-10 17:15:23 · 374 阅读 · 0 评论 -
387. First Unique Character
leetcode编程原创 2017-09-29 14:47:50 · 352 阅读 · 0 评论 -
18. 4Sum
leetcode的编程题18. 4sum原创 2017-09-28 21:29:01 · 287 阅读 · 0 评论 -
454. 4Sum II
leetcode 算法题原创 2017-09-28 13:11:39 · 322 阅读 · 0 评论 -
628. Maximum Product of Three Numbers
leetcode题原创 2017-09-26 21:34:43 · 281 阅读 · 0 评论 -
326. Power of Three
Power of Three 判断3的次方数原创 2017-09-26 09:05:04 · 312 阅读 · 0 评论