ios manipulators noshowbase() function in C++
The noshowbase() method of stream manipulators in C++ is used to clear the showbase format flag for the specified str stream. This flag displays the integers in decimal only. Syntax:...
read more
acosh() function for complex number in C++
The acosh() function for complex number is defined in the complex header file. This function is the complex version of the acosh() function. This function is used to calculate the complex arc hyperbolic cosine of complex number z and returns the arc hyperbolic cosine of complex number z....
read more
iswblank() function in C/C++
The iswblank() is a built-in function in C/C++ which checks if the given wide character is a blank character or not. It is defined within the cwctype header file of C++. Syntax:...
read more
unordered_multiset max_bucket_count() function in C++ STL
The unordered_multiset::max_bucket_count() is a built-in function in C++ STL which returns the maximum number of buckets that the unordered multiset container can have. This is the maximum it can have, it cannot exceed despite the collisions due to certain limitations on it....
read more
Persistent Trie | Set 1 (Introduction)
Prerequisite:...
read more
unordered_map reserve() in C++ STL
As we know a Bucket is a slot in the container’s internal hash table to which all the element are assigned based on the hash value of their key...
read more
Kth ancestor of all nodes in an N-ary tree using DFS
Given an N-ary tree and an integer K, the task is to print the Kth ancestors of all the nodes of the tree in level order manner. If K ancestors does not exist for a node, then print -1 for that node....
read more
Google Software Engineering Intern, Fall 2019 – North America
...
read more
C Program to check if two given strings are isomorphic to each other
Given two strings str1 and str2, the task is to check if the two given strings are isomorphic to each other or not....
read more
C/C++ program for Armstrong Numbers
...
read more
Check if all occurrences of a character appear together
Given a string s and a character c, find if all occurrences of c appear together in s or not. If the character c does not appear in the string at all, the answer is true....
read more
Different ways to copy a string in C/C++
Copying a string is a common operation in C/C++ used to create a duplicate copy of the original string. In this article, we will see how to copy strings in C/C++....
read more