@thann
mod
admin
link
fedilink
14M

It’s pretty straightforward to do it recursively, takes a bit of memory on the stack though.

In any order:

  • check the node
  • recursively scan left
  • recursively scan right

Ask specific questions about how to code something in java

Java Documentation

General java discussion on lemmy.ml

Create Post From:
lemmy.ml

  • 0 users online
  • 2 users / day
  • 2 users / week
  • 2 users / month
  • 2 users / 6 months
  • 6 subscribers
  • 1 Post
  • 1 Comment
  • Modlog