Program to Addition, subtraction and multiplication of two numbers us…
In this programming tutorial, you will learn how to write a program in three different programming …
The Stock Span Problem
The Stock Span Problem is one of the famous financial problems where we have a list of prices of st…
How to Remove Last Character from Python String?
A Python string is a collection of characters inside single, and double-quotes. And often in Python…
What can you do with Python?
Right Now, It is one of the most popular programming languages in the world, and there is a reason …
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…
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…
Write a Program to Print Square Using * Character
Printing patterns using * is one of the most common interview questions. In this article, we wil…
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…
Reverse a Linked List
Linked List is one of the most important data structures in computer science due to several reasons…
Maximum size square sub-matrices with all 1's
Problem Statement Consider a matrix with all 0s and 1s. Your task is to find the largest square …
Longest Increasing Subsequence using Dynamic Programming
You are given a sequence. You have to find the length of the longest subsequence of the given seque…
Merge Sort for Linked Lists
There are a plethora of sorting algorithms present for arrays like the bubble sort, insertion sort,…