Python program to create a dice game using Turtle

By Abinash Reddy

We have seen and played many dice games link snake-ladder, poker, etc. Have you ever wonder how to build them? In this article, we will build a simple dice game in Python using Tur.... Read More

Find First Non-Repeating Element in an Array in C++

By Abinash Reddy

In this article, we will write a program to find the first non-repeating element in the given array in C++. Example Input: arr[] = {2, 3, 4, 5, 2, 5, 4, 1, 3} Output: 1 Input: arr[.... Read More

RTTI (Run-time type Information) in C++ with example

By Ranjeet V

Hello everyone, in this tutorial, we will learn about Run-Time Type Information(RTTI) in C++. This mechanism helps us to expose information about the data type of an object during .... Read More

Ordered Set and GNU C++ PBDS

By Ranjeet V

Hello everyone, in this C++ tutorial, we will be discussing Ordered Set and GNU C++ PBDS. PBDS stands for Policy-Based Data Structures. Policy-based data structures are not part of.... Read More

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