Implementing DFS and BFS using JavaScript

ThankGod Ukachukwu
codeburst
Published in
7 min readJun 11, 2020

--

An algorithm for the beginner programmer.

Introduction

This article is targeted at beginners. So I’m not trying to scare you my reader but I won’t fail to point out the prerequisites so you don’t say you weren’t informed. In every algorithm textbook or tutorial, graph algorithms alongside trees are often the last part. They are presented as the advanced part…

--

--