I have recently been through the recruitment process of ADOBE. I didn’t get through (I got the reply today), but I sincerely hope that my… Read More

The answer is same as Copy Constructor. If a class doesn’t contain pointers, then there is no need to write assignment operator and copy constructor.… Read More

Given an array where every element occurs three times, except one element which occurs only once. Find the element that occurs once. Expected time… Read More

Predict the output of following C++ program. #include<iostream> using namespace std; class Test { protected: int x; public: Test (int i):x(i) { } void… Read More

Given an array of non-negative integers. Find the largest multiple of 3 that can be formed from array elements. For example, if the input array… Read More

Given a number, check if it is divisible by 7. You are not allowed to use modulo operator, floating point arithmetic is also not allowed. A… Read More

Given a linked list where every node represents a linked list and contains two pointers of its type: (i) Pointer to next node in the… Read More

This about my experience of MS interview, which happened last day Division: Microsoft Bing R&D Rounds: Total 4 rounds (All face to face) Location: Hyderabad.… Read More

Given a binary matrix, print all unique rows of the given matrix. Example: Input: {0, 1, 0, 0, 1} {1, 0, 1, 1, 0} {0,… Read More

Given two sorted arrays, a[] and b[], the task is to find the median of these sorted arrays, in O(log n + log m) time… Read More

Recently I attended Microsoft Campus Interview and got selected. Below is my Interview Experience and I just wanna share it to GeeksforGeeks viewers. 1st Round:… Read More

Given N machines. Each machine contains some numbers in sorted form. But the amount of numbers, each machine has is not fixed. Output the numbers… Read More

Given a book of words. Assume you have enough main memory to accommodate all words. design a data structure to find top K maximum occurring… Read More

You are given a set of n types of rectangular 3-D boxes, where the i^th box has height h(i), width w(i) and depth d(i) (all… Read More

Featured Articles

View All