r/programming • • Dec 01 '15

Daily programming puzzles at Advent of Code

http://adventofcode.com/
320 Upvotes

179 comments sorted by

View all comments

Show parent comment

1

u/verytrade Dec 01 '15

Yeah the first i thing i do was search what scanLeft did. Just a question. I had to feed with scanLeft with a character array. input.toCharArray.scanLeft(0). Your input is also a array of characters correct?