Posts

Showing posts with the label Core Java

Interview With Fashion And You - Gurgoan

Interview With Fashion And You Interview 1: Q1. How will you store the state of the fashionandyou.com website's user's open state in the system? So basically design an architecture and use a proper data structure for storing the last opened state of the website. Interview 2: Q1. Write down a program for  merging the two sorted arrays into one sorted array. Q2. Write down a program for finding the next available number by shuffling the digits of given number and You can design algorithm. Ex. I/P  2345890       O/P 2345908 Q3. Design an architecture and choose the data structure for handling the following two problems. Problem A: If an N-user logs in and sees the a product and this product has k inventory then, all N user shouldn't see the Out of Stock message. Product P (Size of Inventory = 5): User A B C D E Problem B: N products and N Discounts. Q4. What are the technologies have you used till now ? ...

Interview with SCA Technologies !!!

Interview with SCA Technologies Round 1: It was a round from Director of Engineering from US. He has asked about my projects, technologies used, tools used, research paper content and theory behind. Domain expertise and said further rounds will be there. Round 2: Technical round for JAVA, he asked following questions. 1. Tell me contract between the hashcode and equals. 2. Object orientation in java script . 3. Closures in javascript. 4. Most used collection in java ? I have answered  HashMap, then he asked, how Hash Key works. If two hash keys are same then how it's value get retrieve. 5. Asked multithreading questions: What is the thread and How we can create. Round 3: Technical Round for Spring and Design Patterns 1. What is Dependency Injection ? And How this is different from new operator. 2. Describe singleton pattern, and give a proper example for it. 3. Describe the bridge pattern and the use of it. 4. How the annotation base autowiring is diff...

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 a...