## Left-Right traversal of all the levels of N-ary tree

Given a Complete Binary Tree rooted at node 1, the task is to print the elements in the following defined order. First, print all elements… Read More »

- Count substrings that contain all vowels | SET 2
- Find the longest string that can be made up of other strings from the array
- Print the path between any two nodes of a tree | DFS
- Number of triangles formed by joining vertices of n-sided polygon with one side common
- Find the Deepest Node in a Binary Tree Using Queue STL - SET 2
- Remove first adjacent pairs of similar characters until possible
- Left rotation of an array using vectors in C++
- Color all boxes in line such that every M consecutive boxes are unique
- C++ program to Convert a Matrix to Sparse Matrix
- Check if the Matrix satisfies the given conditions
- Check if two given Circles are Orthogonal or not
- Find number of candidates in the Exam
- Draw an Ellipse rotating over a Circle in C++ graphics
- Area of a Regular Pentagram
- Check whether Quadrilateral is valid or not if angles are given
- Flatten Binary Tree in order of Zig Zag traversal
- Implementing Multidimensional Map in C++
- How to erase an element from a vector using erase() and reverse_iterator?
- How to swap Keys with Values of a Map in C++?
- std::uniform_int_distribution class in C++
- Summation of floor of harmonic progression
- C-LOOK Disk Scheduling Algorithm
- Formatted I/O in C++
- Find the number which when added to the given ratio a : b, the ratio changes to c : d
- Implementing ANDNOT Gate using Adaline Network
- C++ Program to print Fibonacci Series using Class template
- Difference between Public and Private in C++ with Example
- C++ Program to Illustrate Trigonometric functions
- How to Iterate through a String word by word in C++
- Program to print the Alphabets of a Given Word using * pattern

Given a Complete Binary Tree rooted at node 1, the task is to print the elements in the following defined order. First, print all elements… Read More »

The task is to write a program to print Hello World without using main() and semicolon. As we already know how to print Hello World… Read More »

Given an array of infinite length and two integers M and N which are co-primes, the task is to find the number of positions that… Read More »

Given a sequence arr of N positive integers, the task is to find the length of the longest subsequence such that xor of adjacent integers… Read More »

Given N number of sticks of varying lengths in an array arr, the task is to determine the sum of the count of sticks that… Read More »

This article explains how to delete the content of a Binary File. Given a binary file that contains the records of students, the task is… Read More »

Given an input string which is comma-separated instead of space, the task is to parse this input string in C++. First, let us understand what… Read More »

Given a comma-separated string, the task is to parse this string and separate the words in C++. Examples: Input: “1, 2, 3, 4, 5” Output:… Read More »

Public All the class members declared under public will be available to everyone. The data members and member functions declared public can be accessed by… Read More »

This article explains how to modify the content of a Binary File. Given a binary file that contains the records of students, the task is… Read More »

Given a String comprising of many words separated by space, the task is to iterate over these words of the string in C++. Example: Input:… Read More »

The math.h header contains methods for performing basic numeric operations such as the elementary exponential, logarithm, square root, and trigonometric functions. In order to use… Read More »

Given a vector, the task is to erase an element from this vector using erase() and reverse_iterator. Example: Input: vector = {1, 4, 7, 10,… Read More »

Given are two circles with their centres C1(x1, y1) and C2(x2, y2) and radius r1 and r2, the task is to check if both the… Read More »