binary tree in swift
Swift
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tree.playground
.gitignore
README.md
screenshot.png
screenshot2.png

README.md

Binary Tree

image image

traversal

  • pre-order traversal
  • in-order traversal
  • post-order traversal
  • level-order traversal

function

  • invert
  • height
  • count
  • isComplete
  • isFull
  • isBalanced

tools

  • Array to Binary Tree
  • Array to Binary Sort Tree
  • Binary Tree to UIView