Andrea Laretto
@iwilare
PhD student @ Tallinn University of Technology, working on directed type theory • Agda, Rust, Nix • 🇮🇹⇗🇪🇪 日本語もOK
ID: 1083152191
http://iwilare.com 12-01-2013 14:32:10
353 Tweet
211 Takipçi
598 Takip Edilen
Dmitrii Kovanikov Happily, it's a wonderful trick. You iterate over the list twice simultaneously: by skipping two elements at once and by skipping just one. The former finishes right when the latter is in the middle of the list, so you get your latter half of the list (without recreating it,
Ruby Ranger What? This is impressive research work!