Pure virtual destructor in C++ with code example

By Ranjeet V

In this post, we will learn about pure virtual destructor in C++. We can have a pure virtual destructor in a C++ program, provided the destructor has a function body. The reason be.... Read More

Hollow Diamond Inscribed in a Rectangle Pattern in C++

By Isha Prasad

In this article, we are going to learn how to print a Hollow Diamond Inscribed in a Rectangle Pattern using C++. This pattern is possible and easy to understand in C++. let us unde.... Read More

Elias Gamma Encoding in Python

By Ranjeet V

In this tutorial, we are going to learn Elias Gamma Encoding in Python. Elias Gamma Encoding has been developed by Peter Elias and it is used to encode a sequence of positive integ.... Read More

isunordered() function in C++

By Ranjeet V

In this post, we will see isunordered() function in C++. This is an inbuilt function and defined in <cmath> header file. Let’s see how we can use this function in a C++.... Read More

Kth order-Segment tree problem in C++

By Deepanshu

Now we will be going to solve the segment tree question in C++. Problem description Given n integers, and an array an of n integers, and q queries. The queries are of three types. .... Read More

Hollow Diamond Pattern Program in C++

By Isha Prasad

Hello Learners, in this article, we are going to learn how to print a Hollow Diamond Pattern using C++. This pattern is possible and easy to understand in C++. let us understand fi.... Read More

std::mismatch() in C++ with examples

By Ranjeet V

In this tutorial, we are going to learn about a useful function of C++ STL that is the mismatch() function. This function is defined in the ‘algorithm’ header in C++. T.... Read More

Difference Between json.dump() and json.dumps() in Python

By Ranjeet V

In this Python tutorial, we will discuss the difference between json.dump() and json.dumps(). As we know, JSON stands for JavaScript Object Notation. It is a lightweight data forma.... Read More