In this problem, we are given a string and we have to find the substring from the given string. The substring to be found should start with a vowel and end with constant character.A string is an array of characters.The substring that is to be generated in this problem can be generated by deleting some characters of the string. And without changing the order of the string.Input: ‘abc’ Output: ab, ac, abcTo solve this problem, we will iterate the string and fix vowels and check for the next sequence. Let’s see an algorithm to find a solution −AlgorithmStep 1: Iterate ... Read More
Netdata is an enormously optimized Linux utility that presents real-time (per 2nd) efficiency monitoring for Linux techniques, applications, SNMP devices, etc. And shows full interactive charts that certainly renders all collected values over the web browser to investigate them. This article explains about how to find a real-time performance monitoring tool for Linux Systems.FeaturesIt monitors total and per Core CPU usage, interrupts, softirqs and frequency.It monitors Memory, RAM, Swap and Kernel usage.It monitors Disk I/O (per disk: bandwidth, operations, backlog, utilisation, etc).It monitors Network interfaces including: bandwidth, packets, errors, drops, etc).It monitors Netfilter / iptables Linux firewall connections, events, errors, ... Read More
In this problem, we are given a string and we have to print all the subsequences of the string. The substring generated is created by deleting the elements of the string but the order remains the same(i.e. Order cannot be changed).Let’s take an example to understand the topic better −Input: xyz Output: x, y, z, xy, yz, xz, xyzExplanation − In the above example, we can see the only characters are deleted to create substring. No, rearranging takes place.There can be multiple methods to solve this problem, here we will discuss a few of them to understand methods.One is by ... Read More
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
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
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
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
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
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
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
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP