leetcode 319 Bulb Switcher
leetcode319 Bulb Switcher题目描述
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every third bulb (turning
原创
2015-12-21 23:54:43 ·
248 阅读 ·
0 评论