Goldman Sachs Interview | Set 3
Goldman Sachs visited our campus for both Full Time and Interns. I am going to share the experience for Full Time.
- 1st Round:
- 15 questions: Quant
- 25 technical Questions (C,C++,DBMS,networking,OS)
- 45 minutes for both..there was sectional cut-Off
- Coding round (two questions):
- Check if duplicates exist in an array of N which has range 1 to N.
- Find a pair of elements in an array that sum up to a given Value K.
We were supposed to do coding questions in 30 mins, there was no compiler.
Finally a stupid “Essay” –“Why I am a good fit for Goldman Sachs?” (10 minutes)Total 7 people got shortlisted from 1st round
- 2nd Round: Group Task:
They gave us a hypothetical situation, that a ship is sinking, it has only one lifeboat and its capacity is only 8 and there are 12 members on the ship and each member has a different profession and has a tool or an instrument that can be used for their survival.
We need to discuss and select 8 people out of 12. (Basically you have to fight for your choices and convince others).
4 got short listed after this round - 3rd Round: Duration (2hrs), Technical:
- How JVM works? (He asked internals)
- What do you do in your free time?
- Pattern matching question.. He was not satisfied with KMP algorithm..then I told him Trie..he asked me to implement Trie…(code)
- How would you search a file in Linux I told him grep and sedcommads…he was ok with it.
- When a message arrives at network interface card what exactly happens after that, and what is Operating system’s role in it?
- He asked me some questions in Perl..he wasn’t that good with Perl language …he was nodding his head with whatever I was telling him.
- Minimum window problem of strings. (we have to search all characters of a string that occur in another string with minimum window)
- Some simple questions on Python. (I mentioned it when he asked me what are the languages you have learnt)
- Which one is more efficient a Join operation or a nested query.
- Given a set to 3 tables transform these up to 4th Normal form….even I don’t know how I managed to do it. (m not that good with databases)
- 4th Round: (Duration 1hr 45mins), Technical:
For this round previous guy sent a guy who knows Perl this round was majorly on Perl and UNIX commands.- Tell me about yourself.
- Given a file with business Date and contents. Extract the date(Validate it) and count all the other records in the file. (he was focusing on some basic pattern matching skills in Perl).
- Check if a given IP address is valid or not. (Do it in Perl using Regular Expressions).
- Check if a BT is BST or not.
- There are 12 rats, 11 of them are trained to eat at a fast rate except one. With the minimum number, if bread loaves I need to identify the slow rat.
- The classic puzzle to find where is the 1 rupee when 3 friends visit a restaurant and pay 10 Rs each
- Write a Perl and awk script to get the permissions of a file or a directory. (this was the easiest)
- Given a BST but two nodes have been swapped, I was supposed to identify the nodes…then he asked me to rectify it as well. (code)
- Some operating system questions, virtual memory, why we use virtual memory, File system related questions.
- Project related questions.
- He asked me do I know about Object Oriented python. (I said yes)..he didn’t ask any question about it.
- Use Linux commands to find 10 most frequently occurring word in a file.
(sort –filename | unique –nc | head -10 | awk {print $2})
(I think I nailed this round)
= - 5th Round: (45 mins), Technical:
- How will you detect a cycle in a graph?
- Why Goldman Sachs?
- Given two stacks implement a Queue. (code was required).
- Give me “Mathematical Model” for Bubble sort… I was confused about what is a mathematical model. I asked him does he want the finite automata or workflow sort of answer…he said no, I want a single equation like (a+b)2 =a2 + b2 + 2ab this formula works for all values of a and b..he wanted me to come up with one line formula…I gave him one..he was satisfied
- Now he asked to give a mathematical formula for above stack Queue question(ques #3 above)…I couldn’t come up with a single line equation.
If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help.
Please Login to comment...