Coding Interview Club

Prepare for coding interviews in simple and structured steps

Trees and Graphs

Aug 13, 2016 03:50pm

You can trasverse a binary tree in three ways:

  • inorder
  • preorder
  • postorder

 

Inorder, preorder and postorder techniques are based on the order your current node and the left and right...

Aug 13, 2016 03:45pm

Dijkstra's algorithm, conceived by Dutch computer scientist Edsger Dijkstra, is a graph search algorithm that finds shortest path to every element from a source element in a graph with non-negative edge path costs, producing a shortest path tree...

Aug 13, 2016 03:45pm

Some of the most common terminologies you need to know when you are learning or working with tree data structure.  

 

Basic Terminologies

Tree

A tree is a data structure used to...

Pages

Back to Top