DEV Community

Paolo Ventura
Paolo Ventura

Posted on

100 algos in 100 days (Day 18)

[01/10] Finally a Friday.

I jumped into Binary trees revising about DFS vs BFS.

This website seemed to have the simplest algorithms examples to start with:

It was also cool to see a fellow Bootcampers blog on this.

The first problem I did was calculating whether a tree was superbalanced i.e. leaf nodes were never more than 1 height apart. Relatively trivial

Top comments (0)