原创 LeetCode 283. Move Zeroes

Description Given an array nums, write a function to move all 0’s to the end of it while maintaining the relative order

原创 LeetCode 217. Contains Duplicate

Description Given an array of integers, find if the array contains any duplicates. Your function should return true if

原创 LeetCode 228. Summary Ranges

Description Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,

原创 LeetCode 633. Sum of Square Numbers

Description Given a non-negative integer c, your task is to decide whether there’re two integers a and b such that a2+b

原创 LeetCode 561. Array Partition I

Description Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1),