DATA STRUCTURE


vinaykhatri
Vinay Khatri 2 July, 2021

C++ Program to print a Man using Graphics

When it comes to designing graphics using any programming language, we need to use a graphic librar…

vinaykhatri
Vinay Khatri 2 July, 2021

Program to read from a text file and then write in another text file

Every High-Level Programming language supports file handling, which helps us to write, read and app…

vinaykhatri
Vinay Khatri 2 July, 2021

Program to Count no. of alphabets, digits and spaces present in a file

In this Programming tutorial, we will learn how to write a script in C++ and Python that can count …

vinaykhatri
Vinay Khatri 14 June, 2021

Write a Program to Print the Given Series: 1 2 4 8 16 32 64 128

We all studied several sequences or series of mathematics in our childhood, such as arithmetic sequ…

vinaykhatri
Vinay Khatri 11 June, 2021

Minimum Edit Distance

Problem Statement You are given two strings, string1 and string2, your task is to perform the op…

vinaykhatri
Vinay Khatri 11 June, 2021

Majority Element - How to Find?

We have been given an integer array of size ‘n’, we have to print the majority element …

vinaykhatri
Vinay Khatri 11 June, 2021

Program to convert first letter of each word of a string to uppercase…

In this tutorial, we will write the logic in 3 different programming languages that will accept a s…

vinaykhatri
Vinay Khatri 9 June, 2021

The Stock Span Problem

The Stock Span Problem is one of the famous financial problems where we have a list of prices of st…

vinaykhatri
Vinay Khatri 7 June, 2021

Find the Maximum of Minimum for Every Window Size in a Given Array

In this tutorial, we are going to find the maximum and minimum for every window size in a given Arr…

vinaykhatri
Vinay Khatri 7 June, 2021

Check for pairs in an array with a particular sum

Consider an array arr[] with n elements where the values in the array consist of both positive valu…

vinaykhatri
Vinay Khatri 7 June, 2021

Write a Program to Print Square Using * Character

Printing patterns using * is one of the most common interview questions. In this article, we wil…

vinaykhatri
Vinay Khatri 7 June, 2021

Write a Program to Print Triangle Using * Character

In this article, we will learn how to print inverted right-angle triangles in C, C++, and Python. I…