Skip to content

Instantly share code, notes, and snippets.

@cbeust
Created February 7, 2017 20:18
Show Gist options
  • Save cbeust/e5908ffabd84458b6173ecea935b954a to your computer and use it in GitHub Desktop.
Save cbeust/e5908ffabd84458b6173ecea935b954a to your computer and use it in GitHub Desktop.
val graph = listOf(Node(“A”, listOf(
Node(“A1”),
Node(“A2”)))
)
displayGraph(graph)
val tree = listOf(Tree(1, listOf(
Tree(11),
Tree(12)))
)
displayGraph(tree)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment