Sign in

Traversing a Binary Search Tree

Photo by Mila Tovar on Unsplash

This is the third blog post in a series on Binary Search Tree methods. In the last two blog posts, we discussed what a Binary Search Tree is briefly and then we went through the Inserting a Node method and a Contains Value method and how to optimally code both of these methods in Python. More recently, we discussed how to Remove a Node in Python. In this blog post, we are going to discuss the three main Binary Search Tree (BST) traversal methods: In Order Traverse, Pre Order Traverse, and Post Order Traverse. …

Series #2: The Remove Method

Photo by Sirma Krusteva on Unsplash

This is the second blogpost in a series on Binary Search Tree methods. In the last blogpost, we discussed what a Binary Search Tree is briefly and then we went through the Inserting a Node method and a Contains Value method and how to optimally code both of these methods in Python. In this blogpost, we are going to discuss a more complicated method, Removing a Node.

Before we dive into the Remove method, let’s briefly refresh on the properties of a Binary Search Tree (BST). Specifically, they have a value, and a left child…

Series #1: Insert and Contains Operations

Photo by Mila Tovar on Unsplash

Binary Search Trees are a popular tree data structure in the Computer Science field. They prove to have a consistent O Notation for inserts, deletes, and other operations, it all depends on the number of nodes in the tree (O(n)). They are also popular as interview questions for coding interviews. Overall, I recently learned about them and thought it would be fun to share a brief series on them. For this initial post, I will be talking about the Insert Operations and the Contains Operations.

Before we dive into the operations, you must first know what a BST node contains…

Recently, I decided to pursue a fairly new and up-and-coming programming language, Elixir. In this blog post, I am going to discuss my initial thoughts on Elixir.

elixir logo

I discovered Elixir while I was researching Backend Frameworks. From there, I started to research Elixir. Elixir is a functional programming language that runs on BEAM, which is Erlang’s Virtual Machine. You might be asking: what is Erlang? Erlang is a programming language used to build scalable real-time systems like: telecoms, instant messaging, and more. Another thing worth mentioning is that Erlang was built with concurrency, distribution, and fault tolerance in mind.

Is your Vue app currently lacking a loading spinner for when it fetches content from an API? Well you came to the right place, adding in a loading spinner in Vue can be a very simple task and can also be easily used with Vuex for when your API fetches data and performs data transformations. Let’s get started!

I am going to skip going over creating a default Vue project and instead just show the snippets of setup code that are relevant to utilizing a Vue Simple Spinner. This means that I am assuming that you have the Vuex store…

React Logo

I ran into a problem recently, where the large, high-resolution background images in my web app were loading slowly and, as a result, the webpage would look glitchy. Here is an example of what it would look like:

React Native is an extensive iOS/Android development framework that has many features. One of the areas that I personally struggled with in React Native during my most recent project was when I needed to have all of my fonts and images loaded prior to the user using the app. Fortunately, React Native has a feature that will let you dictate what needs to be loaded prior to the App running. Let’s run through an example of pre-loading in images and fonts in an App.

To start, you will need to have your fonts saved locally, and in this example, I’ll…

JavaScript is a very powerful programming language that is consistently used with HTML in web programming. One of the many things that you can do with JavaScript is that you can Fetch API Results from their respective endpoints. In this walkthrough, you are going to learn how to extract Rick and Morty data from an API and display it on an HTML page.

To Start

First, we will want to create a quick project file that includes an index.js file and an index.html file.


You will want to have this boilerplate HTML code in your index.html file:

<!DOCTYPE html>

Ruby is one of the main Object Oriented Programming Languages that is currently out there. Ruby is different from other programming languages in many different ways, one primary way is its naming conventions. Specifically, Ruby has many different names for the same functions, which can prove to be confusing at times, but also can be helpful in bringing in new developers into the coding world and bringing a new sense of creativity to the scene as well.

Ruby Logo

Ruby is advertised by its founder, Yukihiro Matsumoto, as being a coding language for everyone. One way this is seen is through all…


Data Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store