Sudhir sharma has Published 1206 Articles

Point to next higher value node in a linked list with an arbitrary pointer in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 09:03:36

137 Views

In this problem, we are given a linked list with a value, link pointer and an arbitrary pointer. Our task is to make the arbitrary pointer point to point the next large value in the list.Let’s take an example to understand the problem, Here, we can see 8 points to ... Read More

polar() function for complex number in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:59:48

654 Views

The polar function of complex numbers is used to return a complex number.The polar() function is defined in the complex header file in c++. It takes the magnitude and phase angle of a complex number and generates a complex number using these values.Syntaxpolar(mag, phase);Parameters − it takes two values are ... Read More

Policemen catch thieves in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:57:56

531 Views

In this problem, we are given an array of n elements. Each element of the array has either a policeman or a thief, one thief can be caught by one police and we have to find the maximum number of thieves that can be caught by the police if a ... Read More

Policy-based data structures in g++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:55:21

277 Views

g++ compiler is a C++ compiler for GNU in Linux.The g++ compiler also adds support for some special data structures that are not in C++ programming language standard library. These are known as policy-based data structures.The policy-based data structures provide the programmer a high-performance, semantic safety and flexibility as compared ... Read More

Polybius Square Cipher in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:52:57

701 Views

In this problem, we are given a string and we have to find its integer encryption using the Polybius Square Cipher.Polybius Square CipherIt is a table that is used for the conversion of letters into numbers. The table for English encryption is a 5X5 table i.e. contains 25 cells for ... Read More

Popovers in Bootstrap with examples

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:46:36

530 Views

A popover is a simple tooltip plugin. A popover is a box of content that pops up when the user clicks on a specific element. This plugin relies on popover.js.Creating Popovers in HTMLThe attribute data-toggle = "popover" is used to create a popover in HTML. Adding this attribute to an ... Read More

Popular tools for data analytics in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:43:26

249 Views

Data analytics is the processing of data to extract useful information that supports the machine to make decisions. The processing of data involves cleaning, remodeling, and inspecting data.Data analytics requires high computing power as the data to process is too large. So there are specialized tools for data analytics.Some popular ... Read More

Populate Inorder Successor for all nodes in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:38:47

173 Views

In this problem, we are given a tree. The structure contains a pointer next. Our task is to populate this pointer with the inorder successor of the node.struct node {    int value;    struct node* left;    struct node* right;    struct node* next; }All the next pointer are ... Read More

Portable applications in Cloud and their barriers in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:16:23

169 Views

Cloud Computing − cloud computing or internet-based computing is storing and accessing of data on virtual servers that are hosted over internet on cloud servers instead of local server.Cloud computing provides the user with an option to use the data on the go. This increases the portability of work i.e. ... Read More

Position after taking N steps to the right and left in an alternate manner in C++

sudhir sharma

sudhir sharma

Updated on 17-Apr-2020 08:14:51

516 Views

In this problem, we are given three integers N, A and B. there is a person who is standing at coordinate 0 movesA step towards the right and then B step towards left. Then again right. Our task is to print the final position of the element after N moves.Let’s ... Read More

Advertisements