Popular Mobile Apps for Better Deals in 2016

Samual Sam
Updated on 17-Jan-2020 10:40:51

123 Views

With the advent of online shopping, it is becoming easier than ever to do shopping. Not only do people shop from their comfort zone, they can easily check the hottest prices in multiple catalogs, availability of products, compare prices, check special promotions, discounts, reviews and get the lowest prices on their smartphones which in turn saves time and energy.Now we have mobile apps which provides comparative analysis of pricing of products or services which helps the users to avoid visiting multiple websites for price comparison. The below are some selected mobile app picks which helps buyers to get the best ... Read More

Print All Subsets of Given Size of a Set in C++

sudhir sharma
Updated on 17-Jan-2020 10:37:49

833 Views

In this problem, we are given an array and we have to print all the subset of a given size r that can be formed using the element of the array.Let’s take an example to understand the topic better −Input: array = {3, 5, 6} r = 2 Output: 3 5 3 6 5 6In this problem, we will have to find all the combinations of the numbers of the array. And exclude those r bit combinations which are already in the set.Example Live Demo#include using namespace std; void printSubset(int arr[], int n, int r, int index, int data[], int ... Read More

Print All Substrings of a Number Without Conversion in C++

sudhir sharma
Updated on 17-Jan-2020 10:28:05

226 Views

In this problem, we are given an integer n. And we have to print all substrings of a number that can be formed but converting the string are not allowed i.e. we cannot convert an integer into string or array.Let’s take an example to understand the topic better −Input: number =5678 Output: 5, 56, 567, 5678, 6, 67, 678, 7, 78, 8In order to solve this problem, we will need to use mathematical logic. Here, we will print the most significant bit first, then successive bits are printed.AlgorithmStep1: Take a 10’s power number based on the number of digits. Step2: ... Read More

The Story of CAPTCHA and Its Variants

karthikeya Boyini
Updated on 17-Jan-2020 10:26:30

329 Views

Coined by a creatively influential and inventive team of Carnegie Mellon professors comprising Luis von Ahn, Nicholas J. Hopper, John Langford and Manuel Blum, CAPTCHA stands for Completely Automated Public Turing Test to tell Computers and Humans Apart. Captchas was first put to use in the early 2000 by the reputed search engine giants Alta Vista and Yahoo. Touted as one of the most powerful weapons that helps fight web spams and dubious chat bots, Captcha is a befitting solution to prevent fraud URL submissions as well.Turing TestTuring test is a test named after the father of modern computer science- ... Read More

PESTEL Analysis

Samual Sam
Updated on 17-Jan-2020 10:22:22

819 Views

Before launching any new project or service, it is always prudent that organizations analyze their external marketing environment. PESTEL analysis is a useful measure to monitor the macro-environmental (external marketing environment) factors that can impact an organization.PESTEL analysis analyzes the Political, Eonomic, Social, Technological, Environmental, and Legal aspects of an organization. It is a very important tool for measuring market growth, market position and direction in which a business is moving.Let us try to understand the importance of PESTEL analysis taking an example of a healthcare center.Political FactorsPolitical factors include Taxation policies, foreign trade regulations, political stability, labor laws, environmental ... Read More

The Scrum Ceremonies You Must Follow

karthikeya Boyini
Updated on 17-Jan-2020 10:18:03

316 Views

On various occasions when we perform some religious activities, we strictly follow all the rituals without any fail. Whether we follow those rituals fearing GOD or due to our faith and devotions towards the GOD, that’s a separate topic to debate. But our common belief says that the rituals must be followed with full sincerity to get the desired blessings from supreme power.Similarly, while following any frameworks, we must follow all of its methods and processes to get the required benefits from it; Scrum is no exception from them. Scrum has certain principles and processes, when followed completely we will ... Read More

Print All Combinations of a String in Lexicographical Order in C++

sudhir sharma
Updated on 17-Jan-2020 10:15:46

457 Views

In this problem, we are given string str, and we have to print all the combinations of the characters in a lexicographical order.Let’s take an example to understand the problem better −Input: str = ‘XYZ’ Output : X XY XYZ XZ XZY Y YX YXZ YZ YZX Z ZX ZXY ZY ZYXTo solve this problem, we will print all the combinations of characters in the string. For this, we need a map data structure to store the characters of the string. For the implementation, we will need to use backtracking to keep track of all combinations.Example Live Demo#include using namespace ... Read More

Print Combinations of N Elements with Sign Changes for Divisibility by M in C++

sudhir sharma
Updated on 17-Jan-2020 10:14:04

212 Views

In this problem, we are given an array of N elements. And need to return all the sums of the elements are divisible by an integer M.Input : array = {4, 7, 3} ; M = 3 Output : 5+4+3 ; 5+4-3To solve this problem, we need to know the concept of a power set that can be used to find all the possible sums obtained. From this sum, print all those which are divisible by M.AlgorithmStep 1: Iterate overall combinations of ‘+’ and ‘-’ using power set. Step 2: If the sum combination is divisible by M, print them ... Read More

Print All the Cycles in an Undirected Graph in C++

sudhir sharma
Updated on 17-Jan-2020 10:11:49

2K+ Views

In this problem, we are given an undirected graph and we have to print all the cycles that are formed in the graph.Undirected Graph is a graph that is connected together. All the edges of the unidirectional graph are bidirectional. It is also known as an undirected network.Cycle in a graph data structure is a graph in which all vertices form a cycle.Let’s see an example to understand the problem better −Graph-Output-Cycle 1: 2 3 4 5 Cycle 2: 6 7 8For this, we will make use of a few properties of the graph. You need to use graph coloring ... Read More

Print Levels with Odd and Even Number of Nodes in C++

sudhir sharma
Updated on 17-Jan-2020 10:09:56

221 Views

In this problem, we are given a tree. And we have to print all the levels with even number of nodes and odd number of nodes in it.Let’s take an example to understand the concept betterOutput −Levels with odd number of nodes: 1, 3, 4 Levels with even number of nodes: 2Explanation − The first level has only 1 element(odd), 2nd level contains two elements(even), 3rd level contains 3 elements(odd) and 4th level contains 1 element(even).Now, to solve this problem. We need to find the count of nodes at each level and print the even-odd levels accordingly.We will follow the ... Read More

Advertisements