[Facebook] Products of all elements

摘要: Given an array of numbers, nums, return an array of numbers products, where products[i] is the product of all nums[j], j != i.Input : [1, 2, 3, 4, 5]O... 阅读全文
posted @ 2013-02-01 14:37 小刀初试 阅读(111) 评论(0) 推荐(0)