All Medium Articles
A Signal is an electromagnetic field or an electric current to transmit data. There are various components of a signal such as frequency, amplitude, wavelength,… Read More
Given a list of strings arr[] of zeros and ones only and two integer N and M, where N is the number of 1’s and… Read More
Given an array arr[] of distinct elements, the task is to find the maximum of XOR value of the first and second maximum elements of… Read More
Given an array of distinct positive integers arr[] of length N, the task is to count all the triplets such that the sum of two… Read More
Given an array arr[] of size N, the task is to generate a Complete Binary Tree in such a way that sum of the non-leaf… Read More
Git is very important and powerful tool when it comes to the software development life cycle. Now in this article, we are going to see… 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 a 2D vector of NxM integers. The task is to sort the elements of the vectors diagonally from top-left to bottom-right in decreasing order.Examples: … 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
Screen Orientation, also known as screen rotation, is the attribute of activity element in android. When screen orientation change from one state to other, it… Read More
Given a number N. Print three distinct numbers (>=1) whose product is equal to N. print -1 if it is not possible to find three… Read More
Given four non-collinear points A, B, C, and P. The task is to find whether point P lies inside, outside or on the circumcircle formed… Read More
Given a perfect square natural number N. The task is to find all the factors of N. Examples  Input: N = 100 Output: 1 2 4… Read More
The task is to implement a custom vector class similar to the STL vector with following functions:   int push_back(data): adds an element(of any data_type) to… 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
CPU Scheduling involves many different scheduling algorithms which have their Advantages and Disadvantages.  1. First Come First Serve (FCFS):  Advantages: It is simple and easy… Read More
Becoming a good programmer is something that every computer science student wants. Students try to learn coding from the start of their college in order… 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
In this article, we will cover the Indexing of Multi-dimensional arrays in Python using NumPy. NumPy is a general-purpose array-processing package. It provides a high-performance… 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