deque rend() function in C++ STL
The deque::rend() is an inbuilt function in C++ STL which returns a reverse iterator which points to the position before the beginning of the deque (which is considered its reverse end)....
read more
iswspace() function in C/C++
The iswspace() is a built-in function in C/C++ which checks if the given wide character is a wide whitespace character or not. It is defined within the cwctype header file of C++. Syntax:...
read more
exp2() function in C++ STL
The exp2() is a builtin function in C++ STL that computes the base-2 exponential function of a given number. It can also be written as 2num....
read more
multiset empty() function in C++ STL
The multiset::empty() function is a built-in function in C++ STL which checks if the multiset is empty or not. It returns true if the multiset is empty, else it returns false....
read more
std::partial_sort_copy in C++
std::partial_sort is used for sorting the range within the entire container. So, if we want to keep the original container intact and just copy the sorted sub-part of the container into another one, then for that purpose, we can use std::partial_sort_copy....
read more
std::rotate vs std::rotate_copy in C++ STL
...
read more
std::is_sorted_until in C++
std::is_sorted_until is used to find out the first unsorted element in the range [first, last). It returns an iterator to the first unsorted element in the range, so all the elements in between first and the iterator returned are sorted.It can also be used to count the total no. of sorted elements in the range. It is defined inside the header file . In case, the whole range is sorted, it will return an iterator pointing to last.It can be used in two ways as shown below:...
read more
Essential Maths for Competitive Programming Course By GeeksforGeeks
When we talk about Competitive Programming, we can’t ignore the significance of Mathematics here. Yes, it is true that one can get started with competitive programming without any mathematical background, but it is also an unbeatable fact that having good command over several specific mathematical concepts gives you the much-needed advantage over others while solving the programming problems. There are numerous maths concepts, formulas, and theorems that help you to solve the question while doing competitive programming within the necessary time constraints....
read more
Find Unique ID and Domain Name of a Website from a string
Given a string S of size N consisting of unique ID and Domain Name of a unique website, the task is to find the ID and the Domain Name in the given string if the ID is of the form [char, char, char, char, char, digit, digit, digit, digit, char]....
read more
Convert a Binary String to another by flipping prefixes minimum number of times
Given two binary strings A and B of length N, the task is to convert the string A to B by repeatedly flipping a prefix of A, i.e. reverse the order of occurrence of bits in the chosen prefix. Print the number of flips required and the length of all prefixes....
read more
Oracle Interview Experience | Server Technology Role Full Time (On-Campus Sept 2020)
Oracle came to our campus in Sept 2020, for a server technology profile. All rounds were audio and video proctored. The entire interview process was on zoom meetings. It was a very smooth virtual experience. There were counter rooms inside zoom meetings for post and pre-interview sessions....
read more
Find Nth term of series 1, 4, 15, 72, 420…
Given a number N. The task is to write a program to find the Nth term in the below series:...
read more