All Medium Articles
Given a linked list, the task is to find the maximum sum obtained by adding any k consecutive nodes of linked list. Examples:   Input: 1… Read More
We can call the private method of a class from another class in Java (which is defined using the private access modifier in Java). We… Read More
Biological Background : Chromosome: All living organisms consist of cells. In each cell, there is the same set of Chromosomes. Chromosomes are strings of DNA… Read More
Given a circle C1 and it’s a radius r1. And one another circle C2 whose passes through center of circle C1 and touch the circumference… Read More
The File::Slurp module is used to read contents of a file and store it into a string. It is a simple and efficient way of… Read More
Have some basic understanding about – CDF and N – gramsProblem Statement – Given any input word and text file, predict the next n words… Read More
A few nuggets before going in: Prepare well. Work hard. Speak confidently. Be fast (dont by-heart the answer though!) Round 1 (Telephonic): Got a call… Read More
The Gauss Seidel method is an iterative process to solve a square system of (multiple) linear equations. It is also prominently known as ‘Liebmann’ method.… Read More
Median filtering is a nonlinear process useful in reducing impulsive, or salt-and-pepper noise. The median filter is also used to preserve edge properties while reducing… Read More
The ExecutorService interface extends Executor by adding methods that help manage and control the execution of threads. It is defined in java.util.concurrent package. It defines… Read More
Early Binding: The binding which can be resolved at compile time by the compiler is known as static or early binding. Binding of all the… Read More
Given an integer N, the task is to count the number of possible Binary Search Trees with N keys. Examples:   Input: N = 2… Read More
Given an array arr[] of positive integers, the task is to find whether it is possible to make this array strictly decreasing by modifying at… Read More
Prerequisite: Finite Automata Introduction, Designing Finite Automata  Problem-1: Construct DFA, which accepts set of all strings over {0, 1} which interpreted as a binary number… Read More
In this article we discuss the Cloneable interface that indicates that a class has provided a safe clone() method. To understand what cloning means recall… Read More
Prerequisites: Q-Learning techniqueSARSA algorithm is a slight variation of the popular Q-Learning algorithm. For a learning agent in any Reinforcement Learning algorithm it’s policy can… Read More
Prerequisites: Deep Q-Learning This article will demonstrate how to do reinforcement learning on a larger environment than previously demonstrated. We will be implementing Deep Q-Learning… Read More
In Tkinter, Canvas class is used to create different shapes with the help of some functions which are defined under Canvas class. Any shape that… Read More
Given an array arr[] and an integer X, the task is to find the indices such that:   The sum of elements on the found indices… Read More
There are multiple APIs (e.g-bitly API, etc.) available for URL shortening service but in this article, we will be using Tinyurl API to shorten URLs.… Read More