removed by mod
fedilink
2
@thann@heapoverflow.ml
mod
link
fedilink
14 meses

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
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 2 users / 6 months
  • 3 subscribers
  • 1 Post
  • 1 Comment
  • Modlog