All Medium Articles
OpenGL is a cross-language, cross-platform API for rendering 2D and 3D Vector Graphics. Using this, we can make a lot of design as well as… Read More
Coroutines are general control structures where flow control is cooperatively passed between two different routines without returning. If you have used Python or C#, you may… Read More
Predict the output of the following C programs.1. What will be the output of following program? Input:  1 3 C #include<stdio.h> int main() {     int a,… Read More
Given a binary tree with distinct nodes(no two nodes have the same data values). The problem is to print the path common to the two… Read More
Project Title : AI therapist Introduction: Input is user provided description about how his day went in two-three lines. Using natural language processing, our program… Read More
Read-Only Memory (ROM) is the primary memory unit of any computer system along with the Random Access Memory (RAM), but unlike RAM, in ROM, the… Read More
Given weights and values of n items and a value k. We need to choose a subset of these items in such a way that… Read More
Prerequisite : Making your first Open Source Pull Request | Github If you are new to open source and want to contribute to it, you… Read More
Given an array of n integers .We need to find all ‘k’ such that  arr[0] % k = arr[1] % k = ....... = arr[n-1]… Read More
Given a Binary tree, the problem is to find the mirror of a given node. The mirror of a node is a node which exists… Read More
First Round: (Written) Maximum sum of non-contiguous elements in array Input : 1 12 5 4 13 Output: 25 Given an array of integers, find… Read More
Given a height h, count and return the maximum number of balanced binary trees possible with height h. A balanced binary tree is one in… Read More
I went through some interview rounds for SDE-2 in amazon. Below is the format. Round1: It was a test on HackerEarth with two programming questions… Read More
The C++ function std::algorithm::is_permutation() tests whether a sequence is permutation of other or not. It uses operator == for comparison. This function was defined in… Read More
Prerequisite: Page Replacement AlgorithmsIn operating systems that use paging for memory management, page replacement algorithm are needed to decide which page needed to be replaced… Read More
Given a Binary Search Tree, find the median of it.  If number of nodes are even: then median = ((n/2th node + ((n)/2th+1) node) /2 If… Read More
Prerequisites : Introducing threads in socket programming, Multi-threaded chat Application | Set 1 This article gives the implementation of client program for the multi-threaded chat… Read More
Prerequisites : Introducing threads in socket programmingIn the above article, a simple date time server was created which handled multiple user requests at the same… Read More
Prerequisites : Socket Programming in Java This article assumes that you have basic knowledge of socket programming in java and the basic details of client-server… Read More
Prerequisites: Image Processing in Java – Read and WriteImage Processing In Java – Get and Set PixelsImage Processing in Java – Colored Image to Grayscale… Read More