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   ·   767 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 21:52 · PVG 05:52 · LAX 14:52 · JFK 17:52
♥ Do have faith in what you're doing.