@andyb commented on @holgerbrandl’s file https://kotlinlang.slack.com/files/U16CM33AB/F8D7Q2NQG/day12.kt: That looks neat, when I was using Python I used to use NetworkX and jGraphT looks very similar. Might have a look to see if there is any benefit to defining some Kotlin extensions.