Graph Data Structure Implementation and Traversal Algorithms (BFS and DFS) in Golang (With Examples)

Graphs are one of the most popular data structures used in programming, and for some, may seem like one of the most confusing. This tutorial…

Making REST API calls with TypeScript (With Examples)

This post describes how to make API calls in Typescript, and how we can support types and interfaces while calling REST APIs. If you just…

Building a Chat Application with React and Websockets

In this post, we will learn how to create a full stack chat application using React, Node.js and the Websocket protocol. By the end of this…

Implementing Sets (Hash-sets) in Golang

As you may know, there is no native implementation of sets in Go . This post describes how we can use the existing native data structures…

Building a REST API server in Node.js with Express and MongoDB

In this post, we will build a RESTful API server from scratch with Node.js. We will use the Express library as the application server and…

Go-routines

If you're a programmer, you will find many instances where its better to do multiple things concurrently, rather than one after the other…

Arrays and slices

Arrays and slices are used to store a collection of similarly typed items. Arrays In Go, arrays have a fixed length. If we wanted to store…

Control Flow - If, For, and Switch

Control flow in Go is similar to other C based programming languages. Let's start with the if statement: If statements The if statement…

Functions

If you're building a program that's more complex than a couple of for loops, you'll need to use functions. Functions in Go are defined using…

Interfaces

Interfaces is how Go allows for polymorphism: A common method signature with different implementations. Defining interfaces An interface is…

Next Page