Blog # 24 : Goldman Sachs Interview Question 2009
Questions asked to Mr. Anshul Omar:
Technical interview 1:
- Tell something that happened in your life that made you feel exhilarated or tell about one of your achievements that you are proud of.
- Data Structures...stack and queues basic questions //code
- Dynamic programming //code
- Fibonacci algorithm (efficiently) //code
- Puzzle: Match box..weigh exactly once
- How would you ascertain whether a given list is a circular list most efficiently? //code
- Operating Systems fundamental questions
Technical interview 2:
- Data structures implementation or practical applications
- What are your favourite data structures and why?
- Implementation of stacks dynamically, and code for push and pop operation incorporating exception handling
- How to deallocate memory after pop operation...code for it including functions and return types
- A string is given and print it by removing all duplicated letters most efficiently
for e.g. " Hello world"....ans: Helo wrld..order doesn't matter.....I did it in O(nlogn) time. //code - Questions on coding in C/C++
- Database management basics
- Ques on projects....everything associated with it
- JSP, mySQL, AJAX etc. web development tools used in project
- OOP concepts
- Features of OOP model
- Types of programming languages
- What is the thing that excites you the most about GS?
and some more....
HR interview:
- Tell us about yourself
- Introduce yourself in context of academic background
- Scholarships that you have got in your entire scholastic career
- Why do you want to do an intern in GS?
- Why GS, why not any other corporation that has a mix of technological core and business analysis?
- What is investment banking, securities?
- What do you know about market analysis, shares,commodities etc.?
- Why should we take you?
- How would you benefit GS?
- What do you expect from us while doing an intern in GS?
- Extra-curricular
Questions asked to Mr. Shivasheesh :
First Technical Interview
1. How are C and C++ different (don't discuss syntax differences) ?? Difference between class and structure.
2. How are C++ and Java different? (Don’t discuss syntax differences)
3. What are linked list?? Implement them reading n integers from user. -- Source code
4. Which is better one - array or linked list?? Why? What is the usefulness of arrays and linked lists over one another??
5. What is the return type of malloc??
6. What does void * mean??
6. Discuss the memory management in C++ and Java. Allocation and deallocation of memory in C, C++, Java (all three).
7. Define inheritance and polymorphism. Difference b/w polymorphism and function overloading. Difference in inheritance in C++ and Java.
8. Garbage collection in Java? How is it different from memory deallocation??
9. Last semester's project related. -- np and np complete problems, optimization techniques, genetic algorithms (my project)
10. Why intern at Goldman Sachs?? Why not Microsoft or Google??
1. How are C and C++ different (don't discuss syntax differences) ?? Difference between class and structure.
2. How are C++ and Java different? (Don’t discuss syntax differences)
3. What are linked list?? Implement them reading n integers from user. -- Source code
4. Which is better one - array or linked list?? Why? What is the usefulness of arrays and linked lists over one another??
5. What is the return type of malloc??
6. What does void * mean??
6. Discuss the memory management in C++ and Java. Allocation and deallocation of memory in C, C++, Java (all three).
7. Define inheritance and polymorphism. Difference b/w polymorphism and function overloading. Difference in inheritance in C++ and Java.
8. Garbage collection in Java? How is it different from memory deallocation??
9. Last semester's project related. -- np and np complete problems, optimization techniques, genetic algorithms (my project)
10. Why intern at Goldman Sachs?? Why not Microsoft or Google??
______________________________ ______________________________
Second Technical Interview
1. PUZZLE -- Burn the rope
A non-uniform rope takes 60 min. to burn completely. You are given 2 ropes exactly similar.
Devise a method so that u can calculate a time lapse of 15 minutes.
2. What is a binary tree, complete binary tree and a balanced binary tree?
3. Implementation of binary tree and "insert a node in the tree" operation code.
4. Inorder traversal of binary tree code.
5. Which is a better data structures -- linked list or binary tree ?? Why ??
6. What is a multiplexer and a demultiplexer??
7. Draw the circuit diagram of multiplexer using gates.
8. Basic questions from javascript. - Syntax and usage. // code
9. output of a code using if-else statements // easy one :)
10. output of a code using switch-case
char x=100 ;
printf ("\n%c\n\n",x) ;
printf ("\n%d\n\n",x) ;
switch (x) // is this correct ??
{
case 1 : printf ("1") ;
case 2 : printf ("2") ;
case 3 : printf ("3") ;
:
:
:
case 99 : printf ("99") ;
case 100 : printf ("4") ;
:
:
:
case 255 : printf ("255") ;
default : printf ("default") ;
}
switch ('x') // is this correct ??
{
case 1 : printf ("1") ;
case 2 : printf ("2") ;
case 3 : printf ("3") ;
:
:
:
case 99 : printf ("99") ;
case 100 : printf ("4") ;
:
:
:
case 255 : printf ("255") ;
default : printf ("default") ;
}
11. Project related.
12: Database Management -- tables, syntax for query?
13. Do u have some idea of the work done at Goldman Sachs?? What is investment banking??
1. PUZZLE -- Burn the rope
A non-uniform rope takes 60 min. to burn completely. You are given 2 ropes exactly similar.
Devise a method so that u can calculate a time lapse of 15 minutes.
2. What is a binary tree, complete binary tree and a balanced binary tree?
3. Implementation of binary tree and "insert a node in the tree" operation code.
4. Inorder traversal of binary tree code.
5. Which is a better data structures -- linked list or binary tree ?? Why ??
6. What is a multiplexer and a demultiplexer??
7. Draw the circuit diagram of multiplexer using gates.
8. Basic questions from javascript. - Syntax and usage. // code
9. output of a code using if-else statements // easy one :)
10. output of a code using switch-case
char x=100 ;
printf ("\n%c\n\n",x) ;
printf ("\n%d\n\n",x) ;
switch (x) // is this correct ??
{
case 1 : printf ("1") ;
case 2 : printf ("2") ;
case 3 : printf ("3") ;
:
:
:
case 99 : printf ("99") ;
case 100 : printf ("4") ;
:
:
:
case 255 : printf ("255") ;
default : printf ("default") ;
}
switch ('x') // is this correct ??
{
case 1 : printf ("1") ;
case 2 : printf ("2") ;
case 3 : printf ("3") ;
:
:
:
case 99 : printf ("99") ;
case 100 : printf ("4") ;
:
:
:
case 255 : printf ("255") ;
default : printf ("default") ;
}
11. Project related.
12: Database Management -- tables, syntax for query?
13. Do u have some idea of the work done at Goldman Sachs?? What is investment banking??