Validate Binary Search Tree in JavascriptIn this post I’ll be going over a solution to Leetcode problem 98. Validate Binary Search Tree.Jul 10, 2021Jul 10, 2021
Sorted Array to Binary Search Tree in JavascriptThis post will be going over a solution in javascript for Leetcode problem 108. Convert Sorted Array to Binary Search Tree.Jul 3, 2021Jul 3, 2021
Zigzag Level Order Traversal of a Binary Tree in Javascript (Recursive)In my last 2 posts I talked about level order traversal, once with a recursive solution and once with an iterative solution. In this post…Jun 25, 2021Jun 25, 2021
Level Order Traversal of Binary Tree in Javascript (Queue)In my last post I talked about a recursive solution for Leetcode problem 102 Binary Tree Level Order Traversal. Here, I’ll be going through…Jun 19, 2021Jun 19, 2021
Level Order Traversal of Binary Tree in Javascript (Recursive)In this post I’ll be going through one possible implementation of a level order traversal of a binary tree using Leetcode problem 102…Jun 11, 20211Jun 11, 20211
Constructing a Binary Search Tree in JavascriptIn this post I’ll be walking through how to construct a basic binary search tree (BST) in javascript. There are many ways to construct a…Jun 6, 2021Jun 6, 2021
Binary Tree Traversal in JS— Preorder, Postorder and InorderThree common ways to traverse a binary tree (which according to Cracking the Coding Interview you should know how to implement prior to…May 29, 2021May 29, 2021
Remove nth to Last Element in a Linked List (Javascript)One thing I’ve noticed the more I’ve been doing practice algorithms is the power of pointers. This is especially true in linked list…May 22, 2021May 22, 2021
Reverse a string in place in Javascript?There are many different ways to reverse a string. The most obvious is to split the string into an array and use the .reverse() method. A…May 15, 2021May 15, 2021
Graph Data Structures and DatabasesThere are many constructs to model and relate data, and depending on the application and uses of that data, a different structure can be…Mar 11, 2021Mar 11, 2021