Given an array arr of integers of size N and a target number, the task is to find all unique quadruplets in it, whose sum… Read More »

Given an array arr containing positive integers, the task is to check if the given array arr is a concatenation of two permutations or not.… Read More »

Given an array arr[] containing Q positive integers and two numbers A and B, the task is to find the number of ordered pairs (x,… Read More »

Given two string S1 and S2 of length L, the task is to count the number of strings of length L, that exists in between… Read More »

Given two very large floating-point numbers in form of large strings str1 and str2, the task is to add the given two numbers. Example: Input:… Read More »

Given an array arr of size N containing numbers in the range [1, M], the task is to find an element, in the range [1,… Read More »

Given a large number N, the task is to find the total number of factors of the number N modulo M where M is any… Read More »

Pre-requisites: Graph and its representations Greedy Algorithms | Set 5 (Prim’s Minimum Spanning Tree (MST)) Kruskal’s Minimum Spanning Tree Algorithm | Greedy Algo-2 Given a… Read More »

Given a binary tree with N nodes and an integer K, the task is to print nodes of the Kth level of a binary tree… Read More »

Given Adjacency List representation of a tree and an integer K., the task is to find whether the given tree can be split into K… Read More »

Several Linux I/O schedulers have been proposed. Some of these are: Completely Fair Queuing (CFQ) Deadline NOOP Anticipatory CFQ is one of the input/output scheduler… Read More »

Below are some simple steps that I have learned with my experiences with coding. Learn a programming language, preferably C++ or Java. The advantage of… Read More »

In CPU Scheduling, we often need to find average Turnaround and Waiting Time with the help of Arrival, Burst and Completion Time. Let’s have a… Read More »

Rapid Application Development (RAD) model heavily based on prototyping and iterative development and no detail pre-planning is involve in this model. This model was first… Read More »

Real time operating systems (RTOS) are used in environments where a large number of events, mostly external to the computer system, must be accepted and… Read More »

Given three numbers A, B and M such that A < B, the task is to find the sum of numbers divisible by M in… Read More »

Given Q queries containing ranges in the form of [L, R], the task is to find the sum of all non-fibonacci numbers for each range… Read More »

Given an array of integers and a number K. The task is to find the maximum sum which is divisible by K from the given… Read More »

Sometimes, while working with Python lists, we can have a problem in which we need to perform addition of lists in diagonal manner that i.e.… Read More »

Do you remember how eagerly you wanted to be the captain of your gully cricket team (nostalgia!!)? And yes, the time when you wanted to… Read More »