Amazon SDE1 hiring (Off-Campus): June 2019 There were 5 rounds. Round 1: (Paper Coding) Q1. A person is standing at the center(0, 0). He is… Read More »

Given an array arr[] of integers and an integer K, the task is to find the greatest contiguous sub-array of size K. Sub-array X is… Read More »

Given an n-ary tree, the task is to check whether the given tree is binary or not. Examples: Input: A / \ B C /… Read More »

Consider a rat placed at (0, 0) in a square matrix m[ ][ ] of order n and has to reach the destination at (n-1,… Read More »

Given an array of pairs of numbers of size N. In every pair, the first number is always smaller than the second number. A pair… Read More »

Management Information System (MIS) is one of the five major Computer Based Information Systems (CBIS). Its purpose is to meet the general information needs of… Read More »

Given an array arr[] of N integers and an integer X, the task is to find three integers in arr[] such that the sum is… Read More »

A MySQL trigger is a stored program (with queries) which is executed automatically to respond to a specific event such as insertion, updation or deletion… Read More »

In Cyber Stalking, a cyber criminal uses the internet to consistently threaten somebody. This crime is often perpetrated through email, social media, and the other… Read More »

We can create list of object in Python by appending class instances to list. By this, every index in the list can point to instance… Read More »

Perl is an Objected Oriented, dynamic and interpreter based programming language. In object-oriented programming, we have three main aspects, which are, object, class, and methods.… Read More »

Given a Binary Search Tree, and a number X. The task is to find the number of distinct pairs of distinct nodes in BST with… Read More »

Construct the BST (Binary Search Tree) from its given level order traversal. Examples: Input : {7, 4, 12, 3, 6, 8, 1, 5, 10} Output… Read More »

A procedure is a subroutine (like a subprogram) in a regular scripting language, stored in a database. In the case of MySQL, procedures are written… Read More »

Round 1: In the first round two interviewers were present and each one asked one programming question: 1)Find the smallest missing positive number in a… Read More »

In Windows Forms, RadioButton control is used to select a single option among the group of the options. For example, select your gender from the… Read More »

It’s Summertime and the placement season is in full swing! There are many product based companies that recruit during this time like Adobe, Amazon, Microsoft,… Read More »

Given a matrix of dimension m * n where each cell in the matrix can have values 0, 1 or 2 which has the following… Read More »

Given an integer X and an array arr[] of length N consisting of positive integers, the task is to pick minimum number of integers from… Read More »

The Mean Squared Error (MSE) or Mean Squared Deviation (MSD) of an estimator measures the average of error squares i.e. the average squared difference between… Read More »