Hchan

Hchan

V2EX member #108545, joined on 2015-04-01 14:50:23 +08:00
Hchan's recent replies
Jun 26, 2015
Replied to a topic by Tiande Python 这段 杨辉三角 的算法,真漂亮...
lazy val tri: Stream[List[Int]] = List(1) #:: tri map {s => (0 :: (s :+ 0)).sliding(2).toList.map(_.sum)}
@lds56
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   743 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 20:42 · PVG 04:42 · LAX 13:42 · JFK 16:42
♥ Do have faith in what you're doing.