All Easy Articles

## Maximum number of nodes which can be reached from each node in a graph. 2.6

Given a graph with N nodes and K bidirectional edges between them find the number of nodes which can be reachable from a particular. Two… Read More »

## How to calculate the date three months prior using JavaScript ? 2

Given a Date and the task is to get the date of three month prior using javascript. Approach: First select the date object. Then use… Read More »

## Number of triangles formed by joining vertices of n-sided polygon with one side common 2

Given N-sided polygon we need to find the number of triangles formed by joining the vertices of the given polygon with exactly one side being… Read More »

## Add Two Numbers Represented by Linked Lists | Set 3 2.2

Given two numbers represented by two linked lists, write a function that returns sum list. The sum list is linked list representation of addition of… Read More »

## Remove duplicate elements in an Array using STL in C++ 2

Given an array, the task is to remove the duplicate elements from the array using STL in C++ Examples: Input: arr[] = {2, 2, 2,… Read More »

## How to convert a currency string to a double value with jQuery or Javascript? 2

There are two popular ways to convert currency string into float string using different JavaScript inbuilt libraries. Method 1: This is a simple approach in… Read More »

## How to sort strings in JavaScript? 2

We can sort the strings in JavaScript by following methods described below: Using sort() method Using loop Using sort() method: In this method, we use… Read More »

## Python Tkinter | Moving objects using Canvas.move() method 2

Canvas class of Tkinter supports a functions which is used to move objects from one position to another in any canvas or tkinter toplevel. Syntax:… Read More »

## Polymorphism in Java 2.7

The word polymorphism means having many forms. In simple words, we can define polymorphism as the ability of a message to be displayed in more… Read More »

## How to calculate the yesterday’s date in JavaScript ? 2

Prerequisite: JavaScript | getDate() JavaScript | setDate() Problem Statement: In order to calculate yesterday’s date in JavaScript, we need to familiarize ourselves with 2 functions.… Read More »

## Difference between Anonymous Inner Class and Lambda Expression 2

Anonymous Inner Class: It is an inner class without a name and for which only a single object is created. An anonymous inner class can… Read More »

## Microsoft Interview Experience 2019 (Internship) 2.5

Round 1: The first round was an online Coding/Programming test conducted on  mettl.com/. Many students across the country participated in this round. There were 3 questions… Read More »

## Top Career Paths in Machine Learning 2.3

Alan Turing stated in 1947 that “What we want is a machine that can learn from experience.” And that was the beginning of Machine Learning.… Read More »

## Find minimum difference between any two elements | Set 2 2

Given an unsorted array arr[] of size n, the task is to find the minimum difference between any pair in the given array. Input: arr[]… Read More »

## ML | One Hot Encoding of datasets in Python 2

Sometimes in datasets, we encounter columns that contain numbers of no specific order of preference. The data in the column usually denotes a category or… Read More »

## Python | Communicating Between Threads | Set-2 2

Prerequisite: Communicating Between Threads | Set-1 If a thread needs to know immediately when a consumer thread has processed a particular item of data, one… Read More »

## Nth number whose sum of digit is multiple of 10 2.2

Content Removed My Personal Notes arrow_drop_up Save

## Check whether a subsequence exists with sum equal to k if arr[i]> 2*arr[i-1] 2.6

Given a sorted array of positive integers where arr[i] > 2*arr[i-1], check whether a sub sequence exists whose sum is equal to k. Examples: Input… Read More »

## Difference between MD5 and SHA1 2

Prerequisite – SHA-1 Hash, MD5 and SHA1 Both MD5 stands for Message Digest and SHA1 stands for Secure Hash Algorithm square measure the hashing algorithms… Read More »

## Python program to find all possible pairs with given sum 2

Given a list of integers and an integer variable K, write a Python program to find all pairs in the list with given sum K.… Read More »