Posts from C++

How to perform Count and Toggle queries on Binary array in C++

By Amit Razdan

In this post, we will learn how to perform toggle as well as count operations on a binary array in C++.  Count and Toggle queries on Binary array C++ The binary array is an array .... Read More

How to find the n-th node of the Inorder Traversal of a Binary Tree in C++

By Karun Thannickal

In this tutorial, we will learn how to find the n-th node of the inorder traversal of a Binary Tree in C++. First, we will quickly recap what inorder traversal of a Binary Tree is..... Read More

Compute Shortest Common Supersequence in C ++

By Tanu Kumari

In this tutorial of CodeSpeedy, we will learn about the Shortest Common Supersequence problem using C++ in a very simple way. This is a famous interview question. We will learn to .... Read More

NaN in C++ with examples

By Ranjeet V

NaN is used for indicating a number that cannot be represented. For example, the square root of negative numbers, zero divided by zero, etc. NaN stands for “Not a Number̶.... Read More

C++ clocale header file

By Ranjeet V

Hello guys, in this post, we will discuss the clocale header file in C++. This header file is part of the localization library that is part of the C++ standard library. There are s.... Read More

How to implement Linked List in C++

By Amit Razdan

In this post, I am going to discuss the implementation of the linked list in C++ programming language. There are many types of data structures one of the most important of those is.... Read More

How to pass an array by reference in C++

By Amit Razdan

In this post, we will understand about passing an array by reference in the C++ programming language. We will see the example code also for this task. Passing an array by reference.... Read More

Find Numbers with prime frequencies greater than or equal to k in C ++

By Harsh Gupta

We are given an array of positive integers and our task is to find the numbers which appear prime number of times and whose frequency is greater than or equal to a given number .... Read More