Posts by Udaya sri Pothula

Author Biographical Info: Not available

Binary Search in C++ STL(Standard Template Library)

By Udaya sri Pothula

This tutorial will teach us how to use binary search in C++ STL(standard template library). Binary search is a searching algorithm that needs the array to be sorted first before it.... Read More

Get uncommon elements from two sorted arrays in C++

By Udaya sri Pothula

In this tutorial, we will be learning about how to get uncommon elements from two sorted arrays in C++. Approach 1 The sample example code is as follows… #include <iostrea.... Read More

Find Common Elements between Two Arrays in C++

By Udaya sri Pothula

In this tutorial, we will learn how to find common elements between two arrays in C++. Approach 1 The example program for finding out common elements between two arrays. #include &.... Read More

Return multiple values from a function in C++

By Udaya sri Pothula

In this tutorial, we will learn how to return multiple values from a function in C++. In C++, we cannot directly return the multiple values from a function. But, instead, we will b.... Read More

How to use min() function in C++

By Udaya sri Pothula

This tutorial will teach us how to use the min() function in C++. Description min() function in c++ returns us the smaller value by comparing the passed parameters. If both paramet.... Read More

Get the first three maximum numbers in an array in C+

By Udaya sri Pothula

In this tutorial, we will be learning about, how to get the first three maximum numbers in an array in C++. How to get the first three maximum numbers in an array using C++ Here, w.... Read More

Determine how many digits there are in an integer in C++

By Udaya sri Pothula

In this tutorial, we will be learning about determining how many digits there are in an integer in C++. How many digits there are in an integer in C++ Here, we will discuss differe.... Read More

Find the maximum element of a Vector using STL in C++

By Udaya sri Pothula

In this tutorial, we will be learning about how to find the maximum element of a vector using STL (Standard Template Library) in C++. Basically, we just traverse the whole vector a.... Read More