AboutProjectsBlogSkillset

React Countdown Timer

React Countdown Timer

Jan 30, 20236 min read

In this tutorial, we will build a simple JavaScript timer as a React Component. My initial approach was to use the `setInterval` function and have it count the number of seconds that had passed from the start of the timer. However, due to the single...

Valid Parentheses

Valid Parentheses

Jan 23, 20235 min read

Valid Parentheses is an easy-level problem taken directly from LeetCode. It is a string problem that tests your basic data structures knowledge. In this article, we will discuss how to identify the correct data structure to use to solve the problem....

Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters

Jan 2, 20237 min read

Longest Substring Without Repeating Characters is a medium level problem taken directly from LeetCode. It is a string problem that tests basic data structures and algorithms knowledge. There are multiple ways to solve this problem and we will explor...

JavaScript Array Methods

JavaScript Array Methods

Nov 1, 20212 min read

JavaScript arrays are comparably more versatile than arrays in other programming languages. That is because JavaScript arrays support dynamic memory by default which allows us to not worry about memory allocation. Furthermore, JavaScript arrays can...

Two Sum

Two Sum

Nov 1, 20213 min read

Two Sum is a programming problem where you are given an array and a target value and you have to find the indices of the elements in the array that add up to the target value. This is an “easy” level problem in [LeetCode](https://leetcode.com/probl...

Building Blocks of Docker Containers

Building Blocks of Docker Containers

Sep 26, 20183 min read

Docker is an open platform which enables you to package, ship and run your applications and infrastructures independent of each other. Docker provides the ability to package and run an application in an isolated environment called a **container**. B...

Print 1–100 without a loop

Print 1–100 without a loop

Sep 20, 20183 min read

> Print all the natural numbers up to the given number `n`, without using a loop. Printing `1` to a given number sounds fairly simple. You loop from `1` to the number using a for loop or any other type of loop and print the number on every iteration...

Implementing Linked Lists

Implementing Linked Lists

Mar 14, 20185 min read

In this article, I am going to help you learn how to implement Linked Lists using JavaScript. The bad thing about using JavaScript to implement linked lists is that we cannot use pointers to store addresses of the nodes, which effectuates dynamic me...

Introduction to Linked Lists

Introduction to Linked Lists

Jan 16, 20184 min read

In our pursuit of becoming better programmers, we will next learn about **data structures.** In this article, let’s explore the most basic data structure: **Linked List**. Let’s learn what linked lists are, when and why they are useful and the dif...

Longest Palindromic Substring

Longest Palindromic Substring

Jan 8, 20185 min read

Longest Palindromic Substring is a computer science problem, where you have to find the longest contiguous substring, which should also be a palindrome. For example, the longest palindromic substring for a string `"banana"` would be `"anana"`...

C++ Class Constructors

C++ Class Constructors

Dec 19, 20172 min read

A **constructor** is a special member function of a class, defined the same way as other methods of a class. The constructor is executed whenever we create new objects of that class, which consequently makes it the perfect place to initialize the...

Maximum Subarray Sum

Maximum Subarray Sum

Dec 18, 20173 min read

_Maximum Subarray Sum_ is a popular programming problem. In this article, we will try to dissect the problem and try to solve it with a popular algorithm called the **Kadane’s Algorithm** which is very specific to the problem. I am going to use J...

Introduction to C++ Class

Introduction to C++ Class

Dec 2, 20175 min read

One of the main purpose of C++ programming is to add object orientation to the C programming language. To describe it in a sentence, Object Oriented Programming (OOP) is a programming paradigm that prioritizes defining a data over manipulation of it...

C++ Data Structures

C++ Data Structures

Nov 28, 20175 min read

Arrays are useful when a huge collection of data elements need to be stored in a single variable. However, the limitation on any array is that it can only store one type of value in one variable. For example, if you have a list of names of books, th...

Contact Me Part II — The Client

Contact Me Part II — The Client

Nov 26, 20179 min read

This is the second part of this tutorial, which makes use of the GraphQL server we made in the first part. If you just landed here, check out the first part on how to build the GraphQL server for the Contact Me app. In this part of the tutorial, I w...

Contact me Part I — The Server

Contact me Part I — The Server

Nov 20, 201712 min read

A contact app is essential in any informational website. Whether it’s a large scale business website, or a small personal website, it is absolutely crucial for your audience to get in touch with you. Applying feedbacks and answering questions are im...

C++ Pointers

C++ Pointers

Nov 20, 20174 min read

You just started learning C++ programming and have a grasp on the basics and can write simple programs, but you’re stuck on C++ pointers because you don’t understand what it is or how to use it? Well, let’s fix that by learning the basics of pointer...

Dynamic Memory

Dynamic Memory

Nov 20, 20176 min read

Have you ever declared an array and you couldn't decide what the size of the array should be because the size of the array could vary during the runtime of the program and you just declare an array of size 100 and feel like you're squandering all th...

Pointers and Arrays

Pointers and Arrays

Nov 18, 20173 min read

You already know how to use pointers by performing arithmetic operations on them but you’re still confused about when and why you would use these techniques? Follow along this tutorial to clear your confusion and learn how to use pointers with array...

Using Pointers

Using Pointers

Nov 18, 20173 min read

You’ve read the basic introduction to C++ pointers and now have a strong foundation on their basic operators and usefulness. Now, take a step further into learning why pointers are useful and where and how to use them. Follow along this tutorial to...

Big-O Notation

Big-O Notation

Sep 26, 20174 min read

Big-O notation is an algebraic expression used to articulate how long an algorithm takes to run. With Big-O notation, the runtime of an algorithm is expressed in terms of how quickly it grows relative to it’s input, as the input gets arbitrarily lar...

© 2025 Pratik Bhandari