All Easy Articles
Package in Java is a mechanism to encapsulate a group of classes, sub packages and interfaces. Packages are used for: Preventing naming conflicts. For example… Read More
NavigableSet represents a navigable set in Java Collection Framework. The NavigableSet interface inherits from the SortedSet interface. It behaves like a SortedSet with the exception… Read More
SortedMap is an interface in the collection framework. This interface extends the Map interface and provides a total ordering of its elements (elements can be… Read More
In Java, Map Interface is present in java.util package represents a mapping between a key and a value. Java Map interface is not a subtype… Read More
ArrayList is a part of collection framework and is present in java.util package. It provides us with dynamic arrays in Java. Though, it may be… Read More
Java implements a particular type of object called a BufferedImage for images in Java. A BufferedImage can be read from several distinct image types (i.e.,… Read More
The reload() is a previously imported module. If you’ve altered the module source file using an outside editor and want to test the updated version… Read More
Round 1 – Coding in hackerrank. (5 questions) Round 2 – Tech How ping works – Didn’t answer well Maximum Length Palindrome – Answered perfectly… Read More
The LinkedHashSet is an ordered version of HashSet that maintains a doubly-linked List across all elements. When the iteration order is needed to be maintained… Read More
Given a Binary Tree find the length of the longest path which comprises of nodes with consecutive values in increasing order. Every node is considered… Read More
Given a number n, find n’th smart number (1<=n<=1000). Smart number is a number which has at least three distinct prime factors. We are given… Read More
Given n distinct digits (from 0 to 9), find sum of all n digit numbers that can be formed using these digits. It is assumed… Read More
Given a positive integer n, find count of positive integers i such that 0 <= i <= n and n+i = n^i  Examples :  Input… Read More
The LinkedHashMap Class is just like HashMap with an additional feature of maintaining an order of elements inserted into it. HashMap provided the advantage of… Read More
Kernel modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without… Read More
I recently got interviewed for MakeMyTrip for the Software Engineer full time position. There were in a total of 5 rounds. First Round (Online Coding… Read More
Given a pair of positive numbers x and y. We repeatedly subtract the smaller of the two integers from greater one until one of the… Read More
Given two integer numbers, the task is to find count of all common divisors of given numbers? Examples :  Input : a = 12, b… Read More
Given two integer numbers, the task is to find the count of all common divisors of given numbers. Input : a = 12, b =… Read More
Given two integer numbers, the task is to find the count of all common divisors of given numbers? Input : a = 12, b =… Read More