Set
Sets are a type of data structure that can store all the unique values in it. There are ordered and unordered sets. When we add an element into the set, it only adds the new element if it is not already present in the set. Every element of the set, once added, is immutable. However, we can add and remove elements from the set.
Implementing Sets Without C++ STL Containers
By Anant Dhakad
● Published At Dec 2021
In this blog, we will learn about the implementation of Set without using C++ STL containers.... Keep reading ..
Fair Candy Swap
By Soumya Agrawal
● Published At Nov 2021
In this blog, we will discuss the problem of swapping candies and see the various implementations of this problem.... Keep reading ..
Count the total numbers with no repeated digits in a range
By Gaurish Anand
● Published At Dec 2021
This article explains the problem of counting the total numbers with no repeated digits in a given range for Q queries.... Keep reading ..
Count of Isogram Strings in a Given Array of Strings with Length at Least K
By Soumya Agrawal
● Published At Jan 2022
This article will cover the approach and the implementation of the problem where we have to find the count of isogram strings in a given array with a length of at least K.... Keep reading ..
Maximize count of distinct elements in a subsequence of size K in given array
By Aman kumar Chourasiya
● Published At Jan 2022
In this blog, we will take up a coding challenge based on constructive algorithms and tricky observation. We will discuss various approaches to solve the problem.... Keep reading ..
Find numbers in the range [L, R] that are coprime with all given Array elements
By Sandeep kamila
● Published At Jan 2022
This article discusses the approach to finding the numbers in the range [L, R] that are coprime with all given array elements and implementation in C++. ... Keep reading ..
Count Of Pairs In Given Array Whose GCD Is Not Prime
By Harsh Goyal
● Published At Jan 2022
This article will discuss to count the pairs in the given Array whose GCD is not prime and the approach to solve this problem.... Keep reading ..