If you are a newer JavaScript developer like me you may have come across the superset of JavaScript known as TypeScript. TypeScript is an open-source extension of JavaScript that changes JavaScript from an object-oriented scripting language into a object-oriented programming language. It does this by adding types to JavaScript. But you may be asking what’s the point of adding types to JavaScript? Well the main benefit from doing so is that it makes it a whole lot easier to catch errors in development. The problem with JavaScript is that an error generally happens on the client side of things…

The four basic queries that you can use to create a RESTful api using Node.js and PostgreSQL


If you are writing a RESTful api in Node.js you’ll have to decide between a relational database or a non-relational database. If you decided on the former, you’ll need to know how to write basic CRUD queries so that your api can talk to your database in a meaningful way. In this blog I’m going to go over the four basic queries that you can use to create a RESTful api using Node.js and PostgreSQL. Note: This blog assumes that you already have Node.js, PostgreSQL and pg installed.

Query for Create


Hi everyone, in this blog I’m going to teach you how to solve a common interview question called “Valid Parentheses” using JavaScript. Although this question is considered easy, I found it quite tricky to get the optimal solution the first time I encountered it. So let’s dive in!

Note: The fully coded answer is at the bottom.

The Question and Our Approach

Here is a link to the Leetcode version of this question if you want to code along. The question basically asks us to look at a string and determine whether or not it has valid parentheses. This means that each parenthesis, bracket, or…


If you’re an engineer preparing for tech interviews chances are you’re going to need to know how to implement a stack. In this blog I’m going to teach you how to solve a common leetcode question called Min Stack that will hopefully make implementing a stack a lot less foreign to you. Min Stack is a fairly straight forward question, but if you don’t grasp the tricks behind it you may not do well on other questions involving stacks. So it’s important to go through this question a few times until you’re ready to tackle more stack questions.



A very common coding interview question that you’ll likely encounter in the job search is the classic question of “Can you reverse a linked list?”. In this blog I am going to give you a run down on how to reverse a linked list in place, using an iterative solution in JavaScript. Note: The solution will be O(n) time and O(1) space complexity, and the final code will be at the bottom of the article.

Iterating Through the Linked List

If you want to iterate over a linked list you’ll want to implement a while loop that checks if your node has reached the end…


If you’ve never learned a low level programming language before you may have never noticed that there are two types of arrays. For example, in JavaScript arrays are dynamic by default, but in a language like C++ you have access to both types. In this blog I am going to go over the difference between both types of arrays, as well as give a rundown on their performance differences.

Static Arrays

When you allocate an array in a low-level language like C++ or Java, you have to specify upfront how many indices you want your array to have like…


If you’re new to C++ you may have wondered why C++ has both classes and these weird things called structs. The difference between a class and a struct is that an instance of a struct is a variable, while an instance of a class is an object. You can think of a struct as just another data structure like an array. The only difference is that you are making the data structure yourself this time. Structs are generally used if you plan on keeping the instance variables within in it constant. Another important difference between structs and classes is…


If you are completely new to C++ you may have run into the seemingly odd data type called an enum or an enumeration. Most tutorials I have seen tend to gloss over enums as just a collection of constants, but they never really talk about their use cases. In this blog I want to give a quick overview of what enums are and how you could use them in your C++ programs.

What is an Enum?

An enum or enumerated type is a user defined data type that holds a set of constant values. We usually use the keyword…


If you are like me you may have recently taken an interest in the ever growing field of augmented reality. Whether you’ve played the hit game Pokemon GO, or used a Snapchat face filter you’ve likely encountered AR in some shape or form, and you may have wondered about how you can make something similar. With industry leaders such as Mark Zuckerburg claiming that AR is the future, it is an amazing time to start making AR apps. Most mobile phones now have the hardware to augment our reality, and we no longer need expensive headsets to bring technology…


If you’re brand new to web development with Python and Flask, you may be confused on how to debug your code in an IDEless environment. You may know Python, but you’re having trouble adjusting to the way errors are handled in both Flask and web development in general. When using Flask for the first time you may have even encountered this very unhelpful message when you’ve made a mistake:

Ryan Flynn

Full-Stack Engineer with a background in Javascript, React.js, React Native, Redux, Ruby, and Ruby on Rails.

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