All Medium Articles
Round1: Online coding round This round consisted of sections like aptitude, logical reasoning, verbal and coding.Each section consisted of 30 questions. There were 2 coding… Read More
Course Home Page Week Topic Sub-Topic Week 1 Basics Of Java, Control Structures Background (JVM, JDK and JRE), Syntax, Variables, Data Types, I/O, Operators, Java… Read More
Course Home Page Week Topic Sub-Topic Week 1 Basics Of C++, Control Structures Syntax, Variables, Data Types, I/O, Operators, Preprocessors, If, If-else, Switch case, Loops(For,… Read More
Given an array of integers, the task is to find the sequence in which these integers should be added to an AVL tree such that… Read More
A HashSet<T> is an unordered collection of the unique elements. It comes under System.Collections.Generic namespace. It is used in a situation where we want to… Read More
Pre-Requisites: Depth First Search | Parent Array RepresentationGiven a parent array representation of a binary tree, we need to find the number of Isosceles triangles… Read More
Design a hit counter which counts the number of hits received in the past 5 minutes. Source: Microsoft Interview Experience “Design hit counter” problem has… Read More
Prerequisite: ArrayList in Java Given an ArrayList, the task is to get the first and last element of the ArrayList in Java, Examples: Input: ArrayList… Read More
Given an array of integers of size ‘n’ and an integer ‘k’, We can perform the Bitwise AND operation between any array element and ‘k’ any… Read More
Given a number n, the task is to find the sum of the below series upto n terms:  12 – 22 + 32 – 42… Read More
The values() method of SortedMap interface in Java is used to create a collection out of the values of the map. It basically returns a… Read More
The map::key_comp() is a function in STL in C++ that returns a copy of comparison object used by container that compare keys.  Syntax: map.key_comp() Return… Read More
The putIfAbsent(Key, value) method of Hashtable class which allows to map a value to a given key if given key is not associated with a… Read More
Multi-dimensional data analysis is an informative analysis of data which takes many relationships into account. Let’s shed light on some basic techniques used for analysing… Read More
Given a 2-D array of size N*M where, . The task is to find the maximum value achievable by a + shaped pattern. The elements of… Read More
Given n companies and m oil mines having values, the task is to distribute the mines among n companies in a fair manner. That is… Read More
Given an array of integers, the task is to find the minimum number of segments that the array elements can be divided into such that… Read More
Given a rooted tree and not necessarily binary. The tree contains N nodes, labeled 1 to N. You are given the tree in the form… Read More
Given a number N, find the number of distinct integers obtained by LCM(X, N)/X where X can be any positive number.  Examples:   Input: N = 2… Read More
Given a Stream of Arrays in Java, the task is to Flatten the Stream using forEach() method. Examples: Input: arr[][] = {{ 1, 2 },… Read More