Rachel CrossValidate Binary Search Tree in JavascriptIn this post I’ll be going over a solution to Leetcode problem 98. Validate Binary Search Tree.3 min read·Jul 10, 2021----
Rachel CrossSorted 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.3 min read·Jul 3, 2021----
Rachel CrossZigzag 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…2 min read·Jun 25, 2021----
Rachel CrossLevel 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…2 min read·Jun 19, 2021----
Rachel CrossLevel 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…3 min read·Jun 11, 2021--1--1
Rachel CrossConstructing 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…2 min read·Jun 6, 2021----
Rachel CrossBinary 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…3 min read·May 29, 2021----
Rachel CrossRemove 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…3 min read·May 22, 2021----
Rachel CrossReverse 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…3 min read·May 15, 2021----
Rachel CrossGraph 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…5 min read·Mar 11, 2021----