Posts by Nishant Saxena

Author Biographical Info: Not available

Comparing sort(), partial_sort() and nth_element() sort() in C++ STL

By Nishant Saxena

In this post, we will be discussing what are the differences between Sort, Partial Sort, and nth_element Sort in C++. sort in C++ This is function provided in C++ STL, which sort t.... Read More

Create a single colored blank image in C++ using OpenCV

By Nishant Saxena

We are going to see how to create an image and assign it any single color value in C++ using OpenCV. OpenCV is an open-source C++ library for Image processing and computer vision. .... Read More

Find length of a loop in Linked List using map in C++

By Nishant Saxena

In this tutorial, we will learn how to find length of a loop in Linked List in C++ using map. The objective is to check if in a given Linked List there is a loop if the loop is pre.... Read More

Traversal in a Circular Linked List in C++

By Nishant Saxena

In the following explanation, we will discuss how to traverse a Circular Linked List in C++. What we know We know how to traverse a linked list, we simply start from the head and t.... Read More

C++ Program to find if the strings can be chained to form a circle

By Nishant Saxena

So, we’ll discuss how an array/vector of strings in C++ can be chained together to form a circle or loop. So to start with it lets first understand the topic. Chain of String.... Read More