There are 5 basic operators in bash/shell scripting: Arithmetic Operators Relational Operators Boolean Operators Bitwise Operators File Test Operators Arithmetic Operators : These operators are… Read More »

Given two numbers , find which is greater . If , print a^b is greater If , print b^a is greater If , print Both… Read More »

Visual Studio is a Integrated Development Environment(IDE) developed by Microsoft to develop GUI(Graphical User Interface), console, Web applications, web apps, mobile apps, cloud, and web… Read More »

Given a number N(>=3). The task is to find the three integers (<=N) such that LCM of these three integers is maximum. Examples: Input: N… Read More »

Given an array of N positive elements. The task is to find an element which is equal to the sum of all elements of array… Read More »

Given a Binary Node and a node. The task is to search and check if the given node exits in the binary tree or not.… Read More »

Given an even length string S consisting of lower-case English alphabets only, we have two players playing the game. The rules are as follows: the… Read More »

List, being an essential python container is used in day-day programming and also in web-development. Knowledge of its operations is necessary. Let’s see all the… Read More »

Given an integer N, where . The task is to print the count of pieces of a circle with N cuts where each cut passes… Read More »

Given the Cost price and Profit Percentage of an item, the task is to calculate the Selling Price. Examples: Input: CP = 500, Profit% =… Read More »

Loader is the program of the operating system which loads the executable from the disk into the primary memory(RAM) for execution. It allocates the memory… Read More »

Given an integer K and an array arr of integer elements, the task is to print the length of the longest sub-array such that each… Read More »

Prerequisite – Network Devices A Router is a networking device that forwards data packets between computer network. Let us understand this by a very general… Read More »

There is no way you can skip cookies if you are a developer. A cookie is today as important in internet as any language. Cookies… Read More »

Given an array of integers, find the elements from the array whose frequency lies in the range [l, r]. Examples: Input : arr[] = {… Read More »

Given an array of integers, replace every element by its frequency in the array. Examples: Input : arr[] = { 1, 2, 5, 2, 2,… Read More »

Given an array of integers, remove all the elements which appear strictly less than k times. Examples: Input : arr[] = {1, 2, 2, 3,… Read More »

S is string containing only lowercase English alphabets. We need to find if there exists at least one palindromic sub-string whose length is even. Examples:… Read More »

Given a binary string of length at-least two. We need to check if it is possible to rearrange a binary string such that there alternate… Read More »

Given a string S and a range L and R, the task is to print the lexicographically largest string that can be formed from the… Read More »