DATA STRUCTURE


vinaykhatri
Vinay Khatri 24 August, 2019

Global vs Local Variables: Differences You Need to Know

In programming, we often use variables to store some value. Basically, variables are the names of a…

vinaykhatri
Vinay Khatri 23 August, 2019

Tree vs Graph: Notable Differences You need to Know

Programmers are often interested in the Tree vs Graph comparison. To begin with, know that trees an…

vinaykhatri
Vinay Khatri 18 August, 2019

Stack vs Heap: Which One to Choose and When?

When we compile our program, it requires memory to execute. In high-level languages, the operating …

vinaykhatri
Vinay Khatri 6 August, 2019

Program to Find The Sum of Elements Above and Below The Main Diagonal…

Here in this article, we will write a program to find the sum of non-diagonal elements and separate…

vinaykhatri
Vinay Khatri 6 August, 2019

Program to Check Vowel or Consonant Using Switch Case

Problem Statement  Here, we have a problem statement where we need to write a script or pro…

vinaykhatri
Vinay Khatri 1 August, 2019

Write a program to swap two numbers

Problem Statement We have given two numbers num_1 and num_2, which are the two integer number va…

vinaykhatri
Vinay Khatri 1 August, 2019

C++ and Python Program to Find the Root of Quadratic Equation

Here in this program, we will compute the 2 possible roots of a quadratic equation represented as a…

vinaykhatri
Vinay Khatri 1 August, 2019

Program to Check Whether a Given Character is an Alphabet, Digit or A…

Problem Statement We need to write a script or program that checks whether the user-entered char…

vinaykhatri
Vinay Khatri 30 July, 2019

Write a C and C++ Program to Perform Arithmetic Operations using Swit…

Creating a basic calculator is certainly fun for beginners in programming. A basic calculator must …

vinaykhatri
Vinay Khatri 25 July, 2019

Perfect Number in C

Here in this program, we will write a code which checks whether the entered number is a Perfect num…

vinaykhatri
Vinay Khatri 14 July, 2019

Palindrome Program in C | Program to Check the Number is Palindrome o…

Here in this program, we will code to check whether an entered number is a palindrome number or not…

vinaykhatri
Vinay Khatri 13 July, 2019

Program to Insert an Element in an Array [C, C++, Python & Java]

This tutorial will help you learn to write a program in C, C++, Python, and Java to insert an eleme…