All Medium Articles
Given N points in a 2-dimensional plane. A point is said to be above another point if the X coordinates of both points are same… Read More
The police arrested four criminals – P, Q, R and S. The criminals knew each other. They made the following statements: P says “Q committed… Read More
The search engine’s business model ________ around the fulcrum of trust. (A) revolves (B) plays (C) sinks (D) bursts Answer: (A) Explanation: revolve: move in… Read More
Infosys organized one event #HackWithInfy for last year students of B.Tech. There were total three rounds in this competition and you will get a PPI… Read More
Pandas Series is a one-dimensional labelled array capable of holding any data type (integers, strings, floating point numbers, Python objects, etc.). It has to be… Read More
The HTML DOM style transform property is used to transform the object. The transform property allows to rotate, scale, move, skew, etc of an element.… Read More
Given an array arr[], the task is to find the sum of the minimum elements of every possible sub-array of the array. Examples:   Input: arr[]… Read More
Given an array arr[], the task is to find the sum of the maximum elements of every possible sub-array of the array. Examples:   Input: arr[]… Read More
Given a string str, the task is to print all the distinct permutations of str. A permutation is an arrangement of all or part of a… Read More
Round 1: Aptitude Round The Aptitude round consists of the following sections:- Quantitative Aptitude Reasoning Coding Essay Writing The quantitative aptitude and reasoning questions are easy… Read More
From OSI model of network to Operating System, any daily life project is based on layered architecture. Ever thought how the abstraction between upper layers… Read More
I am going to share pinpointed details of my interview experience as they are fresh in my mind. So, It was a TELEPHONIC round. The interviewer… Read More
Given a keypad of a mobile, and keys that need to be pressed, the task is to print all the words which are possible to… Read More
In C++ we can pass class’s objects as arguments and also return them from a function the same way we pass and return other variables.… Read More
Code in written test : 1) Sort the array pair wise 2) Mirror of the binary tree 3) longest common subsequence Interview: 1) create the… Read More
I went through Amazon interview experience. This is my Exp Round 1(telephonic): 1. Print nodes at K distance in BT 2. Sort array when it… Read More
Given a Binary Tree, print it’s left view. Left view of a Binary Tree is a set of nodes visible when tree is seen from… Read More
Given a binary tree, the task is to print the sum of all the boundary nodes of the tree. Examples:  Input: 1 / \ 2… Read More
Got a message from HR on Linkedin that my profile has been shortlisted for SDE-2 profile He sent me Invite for Interview in Amazon Gurgaon… Read More
Given two strings a and b, the task is to count the number of common divisors of both the strings. A string s is a… Read More