Given a nested list of integers, implement an iterator to flatten it. Each element is either an integer, or a list -- whose elements may also be integ Read More
posted @ 2016-06-01 23:36 godjob Views(212) Comments(0) Diggs(0)
LeetCode 第 342 题(Power of Four) Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, retu Read More
posted @ 2016-06-01 19:57 godjob Views(184) Comments(0) Diggs(0)