Posts by Rahul Ranjan

Author Biographical Info: Not available

How to add two numbers represented by linked list in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to add two numbers represented by linked list in C++. First, we will store the two numbers in the linked list and then we will see ho.... 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

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 check whether two strings have same character or not

By Rahul Ranjan

Hello Friends, Today we are going to learn how to check whether two strings have the same character or not, the order of characters can be different. First, we will see understand .... Read More

How to write your own atoi function in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to write atoi function in C++. First, understand about atoi function then we will see an example and then we will see the implementat.... Read More

Convert Roman Number Into Integer using STL in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to convert roman number into integer in C++ using STL. This problem you can do also using the stack as well as using STL. I will give.... Read More

How to Sort an Array contains 0s,1s ,2s in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to sort an array containing elements as 0,1,2 in C++ program. It seems like an easy question but to solve it with an efficient approa.... Read More