All Medium Articles
Given two list, If element in first list in greater than element in second list, then subtract it, else return the element of first list… Read More
Given N vertices of the polygon, the task is to find the centroid of the polygonExamples:   Input: ar = {{0, 0}, {0, 8}, {8, 8},… Read More
Given the root of a tree, the task is to find the count of nodes which are greater than all of its ancestors.Examples:  Input: 4… Read More
Components of Storage Area Network (SAN) involves 3 basic components: (a). Server (b). Network Infrastructure (c). Storage The above elements are classified into following elements… Read More
The switch statement is a multiway branch statement. It provides an easy way to forward execution to different parts of code based on the value… Read More
It was an on-campus recruitment. There were five rounds Round 1: Online Assesment on 5/11/19 There were three coding questions. Its was a question where… Read More
Piece-wise Linear Transformation is type of gray level transformation that is used for image enhancement. It is a spatial domain method. It is used for… Read More
In Laravel, the Route actions can be controlled by any of the following two methods, either by using Route::resource method or by using Route::controller method.… Read More
Python provides functionality to move files or directories from one location to another location. This can be achieved using shutil.move() function from shutil module. shutil.move()… Read More
Hacker Round Test: Replace a character c1 with c2 and c2 with c1 in a string S. But it was mentioned that the string will… Read More
Given an array arr[] of size N. The task is to find the maximum subarray sum possible after performing the given operation at most once.… Read More
Fourier Transform: Fourier transform is the input tool that is used to decompose an image into its sine and cosine components. Properties of Fourier Transform:… Read More
Node is an open-source, cross-platform server environment that executes JavaScript using the V8 JavaScript Engine. Node helps to write front-end and back-end code in the… Read More
Mobile application development has grown by leaps and bounds. Remember Calendar apps and the Snake Game when mobile phones were first launched. That was the… Read More
Given a binary string str and an integer K, the task is to find the minimum cost required to partition the string into exactly K… Read More
Given a singly linked list and an integer K, the task is to reverse every K nodes of the given linked list. Examples:  Input: 1… Read More
Many times a file is needed to be processed at the time of its creation or its modification. This can be done by following changes… Read More
Given an integer N and an array seats[] where N is the number of people standing in a line to buy a movie ticket and… Read More
Given an N-ary tree, the task is to find the post-order traversal of the given tree iteratively.Examples:  Input: 1 / | \ 3 2 4… Read More
Given a matrix of N rows and M columns. It is given that M is a multiple of 3. The columns are divided into 3… Read More