- 博客(3)
- 收藏
- 关注
原创 leetcode小记3——array,string(238,242)
今天有点感冒了,有点难受,反应挺慢的好蠢。 238.Product of Array Except Self Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all
2016-02-20 04:30:26 162
原创 刷leetcode小记2——array(122)
Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transaction (ie, buy one and sell one share of the stock),
2016-02-17 02:29:55 157
原创 刷leetcode小记1——位操作(260,136,137)
今天下午到了图书馆先刷了三道leetcode的题目,虽然是medium难度,可是这三道题目主要考察的还是位运算符的熟练程度还有一些基本的计算机操作的思想。 136. leetcode[136] Single Number 给定一个数组,里面有一个数只出现一次,其他的出现两次,找出出现一次的数。 这道题本身是可以用hash map来做,因为他是一道牵扯到是不是重复的问题, 但
2016-02-16 05:36:04 187
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人