Sunday, September 2, 2012

Interview with Wallmart Labs, Bangalore

Wallmart Labs:  Through the innovative fusion of retail, social and mobile, @WalmartLabs is redefining Commerce for the largest retailer worldwide. We are a group comprised of the brightest technologists and businesspeople in the industry, excited about the limitless opportunities that this next generation of Commerce will bring to billions of people around the globe, all in an effort to help them save money and live better.
Date: 01 Sept, 2012
Best experience ever, they have asked so many questions.
1. write a program for finding duplicates from a array in O(n) complexity.
2. write a program for find nearest perfect square of given number.
Ex. number is given 13, then nearest perfect squares are 9 and 16. Then answer should be 16 because 16 is nearest to 13.
3. write a program for add two numbers without using mathematical operations.
Hint: you can use bit-wise operators, like : XOR, AND and OR.
4. How many types of contract do you use for web services.
5. If i want to avoid the execution of finally, what we can do ?
6. Singleton pattern in Java, how will you achieve singleton.
7. Write a query for second maximum in SQL.
8. Performance tuning or Query Optimization techniques in Java.
9. How will you create non-concrete (Which can’t be instantiate) class.
10. Indexing in SQL. Types of indexing and how will use it.
11. Significance of final keyword in Java.
12. Significance of static keyword in Java for methods and variables.
13. Which protocol do you use for web-services and web-server.
14. Architect data structure for 10 million records, where the records are totally RAW (can be string or numbers).
15.  Abstract class and final class.
Interview went good..lets see the results.

No comments:

Post a Comment

Interview With Amazon Chennai

Interview With Amazon Chennai Interview 1: Coding Problem: Q1. Write down a program which will sort the values at the level in...