Posts by Muskaan Singla

Author Biographical Info: Not available

Given two linked lists, count pairs with sum X in C++

By Muskaan Singla

We are given a problem statement as: given two linked lists, count pairs with sum X in C++. Basically, we are given two linked lists and we have to count the number of such pairs, .... Read More

Distance function in C++

By Muskaan Singla

In this article, we will learn about the Distance function in C++. This function is a part of the standard template library. It helps us to calculate the number of elements present.... Read More

Group words with same set of characters in C++

By Muskaan Singla

Think that, we have a group of words. Our aim is to group words with the same set of characters in C++. Assuming that only lower case alphabets are present, for example: INPUT: { h.... Read More