10 2015 档案
摘要:leetcode -Move ZeroesGiven an arraynums, write a function to move all0's to the end of it while maintaining the relative order of the non-zero element...
阅读全文
摘要:leetcode -Ugly NumberWrite a program to check whether a given number is an ugly number.Ugly numbers are positive numbers whose prime factors only incl...
阅读全文
摘要:leetcode -Sort ColorsGiven an array withnobjects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors...
阅读全文
摘要:leetcode -Product of Array Except SelfGiven an array ofnintegers wheren> 1,nums, return an arrayoutputsuch thatoutput[i]is equal to the product of all...
阅读全文

浙公网安备 33010602011771号