Traverser icon indicating copy to clipboard operation
Traverser copied to clipboard

Traverser DFS/BFS pre/post order examples in Kotlin

Open amatiushkin opened this issue 5 years ago • 6 comments

There few things which would be nice to have as part of this PR:

  • example of how to import Traverser into Kotlin project
  • sample code snippet which runs DFS/BFS pre/post order against example data set (for example company organization chart or bring your sample)

As one of practical suggestion -- StackOverflow or some other forum might have a question about traversing something in mobile app, this could be a good tasks which can be solved with traversal as well.

This task specify #16 for @qbool

amatiushkin avatar Oct 06 '20 19:10 amatiushkin

@amatiushkin

abhishekganesan avatar Oct 06 '20 21:10 abhishekganesan

Is this assigned to anyone yet? if not I'm interested

stong2351 avatar Oct 06 '20 22:10 stong2351

Yes it's assigned to me. Although you can implement these using Scala see #16

altfix avatar Oct 07 '20 07:10 altfix

Cool, I just responded to that thread. I'd be willing to use Scala

stong2351 avatar Oct 07 '20 16:10 stong2351

I would like to add it in Kotlin.

vaggarwal2 avatar Oct 17 '20 15:10 vaggarwal2

Looks like a PR is already raised for it. I can work in Groovy.

vaggarwal2 avatar Oct 17 '20 15:10 vaggarwal2