Posts by Titichh Mishra

Author Biographical Info: Not available

Multiset in C++

By Titichh Mishra

Hi there. Today we will see how multiset works in C++. They are containers that always store elements in a specific manner. And there can be multiple elements of the same value. Al.... Read More

C++ program for best fit algorithm

By Titichh Mishra

Hello there. Today we are going to see how to implement the best fit memory allocation algorithm in C++. This strategy distributes the process to the smallest available partition w.... Read More

C++ program to sort an array according to the order defined by another array

By Titichh Mishra

Hi there. Today we going to see how to sort an array in an order defined by another array in C++. The advantage of this is that you can create custom sorting algorithms. This is an.... Read More

Find smallest prime divisor of a number in C++

By Titichh Mishra

Hi there. Today we are going to see how to get the smallest prime divisor of any number using C++. But what if you want to implement this in C? You can do that by replacing input a.... Read More