All Medium Articles
Prerequisite: Threads, Multi-threading The need for Callable There are two ways of creating threads – one by extending the Thread class and other by creating… Read More
N Queens Problem Warnsdorff’s Algorithm Word Break Problem Remove Invalid Parenthesis Match a pattern and string using regular expression Find Path from corner cell to… Read More
A number is termed as star number, if it is a centered figurate number that represents a centered hexagram (six-pointed star) similar to chinese checker… Read More
In C/C++ we can use graphics.h header file for creation of programs which uses graphical functions like creating different objects, setting the color of text,… Read More
Consider a devotee wishing to give offerings to temples along with a mountain range. The temples are located in a row at different heights. Each… Read More
Greedy is an algorithmic paradigm that builds up a solution piece by piece, always choosing the next piece that offers the most obvious and immediate… Read More
Java.lang.Math Class in Java | Set 1 More Methods: cosh() : java.lang.Math.cosh() method returns the hyperbolic cosine of the argument passed. Special cases : Result… Read More
First Round IQ Test 12 mins 50 Ques (Very Basic IQ questions) (No negative marking) It was just meant to test the candidate’s presence of… Read More
When we speak of Python we often mean not just the language but also the implementation. Python is actually a specification for a language that… Read More
Given a graph where every edge has weight as either 0 or 1. A source vertex is also given in the graph. Find the shortest… Read More
Prerequisite: fork() in C So when we do a fork() what are the sections the two process actually share? Is the heap memory per process?… Read More
Round 1: online Test (Hackerearth) 30mins Given a log file calculate the no of people who came on multiple days. A person can come on… Read More
Given a set of integers, check whether there is a subsequence with odd sum and if yes, then finding the maximum odd sum. If no… Read More
We have discussed simple BST insert. How to insert in a tree where parent pointer needs to be maintained. Parent pointers are helpful to quickly… Read More
Dynamic Programming is an algorithmic paradigm that solves a given complex problem by breaking it into subproblems and stores the results of subproblems to avoid… Read More
This article demonstrates – How to set up a simple Chat Room server and allow multiple clients to connect to it using a client-side script.… Read More
Written test 1 (Objective), 30 minutes First written test was conducted by some third party company. It consisted of 15 objective questions from C, Sorting,… Read More
Getting Started with JavaScript Backend Basics The following article is a continuation to my previous article. In this article, we will dive deep into some… Read More
Given an array of n integers containing only 0 and 1. Find the minimum toggles (switch from 0 to 1 or vice-versa) required such the… Read More
Given an array of integers arr[] and a number m, count the number of subarrays having XOR of their elements as m.Examples:  Input : arr[]… Read More