Preorder and Postorder Traversal of binary tree in Python

As you know trees are non-linear data structures so there are many different ways to traverse them you can either visit the root node first and then visit the left subtree or the right subtree first or you can traverse level by level, there are many possible ways to traverse a tree.

Read More →

Binary Tree in Python

A Binary Tree can be defined as a tree with each node having atmost two children, an empty tree is also a valid binary. Each node of the Binary tree consists of three main components

Read More →

Image Sharpening by High Pass Filter using Python and OpenCV

High Pass Filter is a filter that examines the region of an image and boosts the intensity of certain pixels based on the difference in the intensity with the surrounding pixels.

Read More →

Explaining Register variables in C with examples

A register is a small data storage location inside the processor, most of the time registers are used to hold memory locations, arithmetic/logical instructions etc. Registers can hold up to 64-bit data depending upon the processor.

Read More →

C program to generate all combinations of N-Bit Binary String

In this tutorial, we will learn how to write a c program to print all the combinations of an n-bit binary string using a Recursive approach.

Read More →

Macros in C with examples C Tutorials

Macros are C statements which are defined as a pre-processor directive, C macros are defined using the #define pre-processor keyword, pre-processor statements are processed by the compiler before entering into the main function of the program.

Read More →

Armstrong Number program in C and C++

In this tutorial, we are going to create a program in C and C++ to check whether a user-entered number is an Armstrong number or not but first let's see what is an Armstrong number.

Read More →
Search
Adverstisement
Adverstisement