Aditya Raj

I am currently pursuing Bachelor of Technology and MBA (dual degree) in Information Technology from Indian Institute of Information Technology. I love teaching and writing articles on computer science and related topics.

Preorder Tree Traversal in Python

In this article, we will study the concept and algorithm for preorder tree traversal. Then we will implement the algorithm for preorder traversal in Python and run it on a binary tree. What is Preorder Tree Traversal? Preorder traversal is a depth-first tree traversal algorithm. In depth-first traversal, we start at the root node and …

Preorder Tree Traversal in Python Read More »

Balanced Binary Tree in Python

In this article, we will study balanced binary trees and we will try to implement a program in Python to determine if a binary tree is balanced or not. To read this article, you should be familiar with the concept of binary trees. What is a Balanced Binary Tree? A balanced binary tree is defined …

Balanced Binary Tree in Python Read More »

Functional Programming – An Introduction

In this tutorial, we will learn the basics of functional programming and will understand how to implement it in Python with some examples. We’ll also look at what are the advantages and disadvantages of functional programming. What is functional programming? Functional programming is just another programming paradigm as procedural programming and object-oriented programming. In functional …

Functional Programming – An Introduction Read More »