Groupon Interview Questions – Set 1

Company: Groupon Technical Interview Questions – Q1. Find Kth Min Values in an array? Q2. Write in-order traversal without using recursion? Q3. Reverse words in a string. Ex: Input : “This is a String” Output: “String a is This” Q4. Removing duplicates from unsorted list of integer? if you have unsorted list of 0,5,9,5,6,7,6,9 the Read More →

Amazon Interview Question (Internship) – Set 4

Here is my interview experience with Amazon for internship. Hope it helps. Round 1 (Written test): Q1. Given a string. Write a program to form a string with first character of all words. Q2. Given a number n, find the number just greater than n using same digits as that of n. Round 2: Q1. Read More →

Largest subarray with equal number of 0s and 1s

Problem: Given an binary array containing only 0s and 1s, find the largest subarray which contain equal no of 0s and 1s. Examples: Input: arr[] = {1, 0, 1, 1, 1, 0, 0,0,1} Output: 1 to 8 (Starting and Ending indexes of output sub array) Implementation: In this method,use two nested loops. The outer loop Read More →

Guavus Interview Questions

Company: Guavus Network Systems Profile: Software Developer Interview Details: 1st round: Purely technical about the Core areas, skill sets, whats new I was learning etc. 2nd round : Technical cum analytical skills. 3rd round: Generic overall evaluation, team handling, interest in new stuff, how to handle situation etc. Technical Questions: Telephonic Interview: Q1. Given a Read More →

Juniper Networks Interview Questions – Set 1

Company: Juniper Networks Profile: Software Engineer/ Developer Technical Interview: Q1. How to manage memory in linux kernel? Q2. What should a bridge cum router device do upon receiving a frame? Q3. What’s the benefit of sub-netting? Q4. What are the differences between static ip addressing and dynamic ip addressing? Q5. Explain Memory Fragmentation? Q6. What Read More →

Who is married to Cam Puzzle?

Puzzle: Three men – Sam, Cam and Laurie – are married to Carrie, Billy and Tina, but not necessarily in the same order. Sam’s wife and Billy’s Husband play Carrie and Tina’s husband at bridge. No wife partners her husband and Cam does not play bridge. Who is married to Cam? Solution: Carrie is married Read More →

One97 Interview Questions – Set 1

Company: One97 Communication(Paytm) Profile: Software Developer Java Interview process: Written paper(technical) + 3 Tech interview Technical Interview Questions: Q1. Wap to get the height of a BST? Q2. Implement merge-sort? Q3. what are threads and multi-threads? Q4. Give two ints, return index(0 based) of an int if it is present in another int. For eg. Read More →

3 Baskets And 4 Balls Puzzle

Puzzle: You have 3 baskets and each basket contains exactly 4 balls, each balls is of the same size. Each ball is either red, black, yellow, or orange, and there is one of each color in each basket. If you were blindfolded, and lightly shook each basket so that the balls would be randomly distributed, Read More →

Myntra Interview Questions – Set 1

Company: Myntra.com Profile: Software developer Technical Questions: Q1. What do you do when your schedule is interrupted? How you handle it? Q2. PreOrder traversal without recursion? Q3. Build a bst out of the unsorted array by looping over the array and inserting each element to the tree? Q4. Find 2 elements in array whose sum Read More →

JP Morgan Interview Questions – Set 1

Company: JP Morgan Position: Software Engineer Interview Process: Aptitude test, followed by 3 rounds of interview. Interview process was very good. Just be positive to clear the interview. Technical Questions: Q1. What is the difference between multi tasking, multi processing and multi programming operating systems with examples ? Q2. Tell me about memory allocation (stack Read More →

Jabong.com Interview Questions – Set 1

Company: Jabong.com Profile: PHP Developer Written Paper :- It contains 4 questions. Q1. An array and a number is given. You have to find the no with the min difference with this number? Q2. Email and Mobile Number validation check regex? Q3. mysql query question on self join? Q4. A class and object architecture based Read More →

Recursive Spiral Order Traversal of Tree

This is also called zig-zag order traversal of a binary tree. Approach: To print the nodes in spiral order, nodes at different levels should be printed in alternating order. To change the order of printing alt variable is used. If alt is 1 then printSpiralLevel() prints nodes from left to right else from right to Read More →