MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/3uyl7s/daily_programming_puzzles_at_advent_of_code/cxk7ulh/?context=3
r/programming • u/Aneurysm9 • Dec 01 '15
179 comments sorted by
View all comments
Show parent comment
2
Ah, I didn't know about indexWhere/indexOf. One gotcha is that you have to add +1 to the returned index.
View all comments
Show parent comment
2
u/xkufix Dec 02 '15
Ah, I didn't know about indexWhere/indexOf. One gotcha is that you have to add +1 to the returned index.