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(200) Comments(0) Diggs(0) Edit
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(179) Comments(0) Diggs(0) Edit