Posts from C++

Dojo Eating apples – A Binary search problem in C++

By Deepanshu

This problem is about how can we use binary search algorithm and use it to solve complex problems we will learn about the concepts and algorithm used and then will see its implemen.... Read More

Prefix Expression Evaluation In C++

By Anurag Tiwari

In this tutorial, we shall learn to evaluate prefix expression in C++. We shall use stack data structure from the STL. The computer does not know how to evaluate infix expression, .... Read More

Merge two sorted linked list without any extra space in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to merge two sorted linked lists without any extra space in C++. I hope you know about the linked list and how it stores the data. So.... Read More

C++ program to check whether a number is Trojan Number

By Abinash Reddy

In this article, we will learn how to check whether a given number is a Trojan Number or not in C++. A number is said to be a trojan number if it is a strong number but not a perfe.... Read More

Hoarse Partitioning Algorithm in C++ (used in quick sorting)

By Prayas Sambhare

Hello! In this blog, we are going to learn the Hoarse Partitioning Algorithm. Hoarse partitioning is used in the quicksort algorithm. Hence to understand the quick sort algorithm o.... Read More

Program to find minimum characters to be added at front to make a string palindrome in C++

By Prayas Sambhare

Hello! In this article, we are going to learn how to find the minimum number of characters to be added at the front of the string to make the string palindrome. We are going to dis.... Read More

How to rotate linked list by k nodes in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to rotate singly linked list by k nodes in a clockwise fashion in C++. I hope you know about the linked list and how it stores the da.... Read More

C++ program to convert infix to postfix using stack

By Prayas Sambhare

Hello. In this tutorial, we are going to learn how to convert an infix notation to postfix notation using the stack data structure in C++ program. What are infix and postfix notati.... Read More