investment banking Interview Questions | Glassdoor

Companies matching "investment banking"

Tobin & Company Investment Banking Group Interviews /  HQ: Charlotte

8 Interviews

2.9 Average

Shattuck Hammond Partners Interviews /  HQ: New York, NY

1 Interviews

3.0 Average

IEG Investment Banking Interviews /  HQ: Berlin

0 Interviews

Not Yet Rated

investment banking Interview Questions

Sort: RelevancePopular Date

Assume there is a method provided getNextperson() which gives Person objects which have comparable interface implemented, now read from a file records and sort it and give first 1000 records, write code on the paper

6 Answers

maybe use tree data structure

tree data structure ? i hope u meant to say "TreeSet"; but the question doesnt say that getNextPerson() will be unique. So let us not bank on treeSet. So just add them on to a arrayList and do a Collections.sort(arrayList);

The question is actually quite simple since you were given that Comparable interface is already implemented (eg, public int compareTo(Object o) method is overridden in Person object). First step, 'read from a file all records' and store each Person object returned by getNextPerson() in List records = new ArrayList(). Next step, call Collections.sort(records) to sort (by criteria specified in compareTo() method, such as Last and First name, or any other meaningful parameter). Final step, 'give first 1000 records' -- either by iterating over first 1000 (checking size() >= 1000) or by returning the list consisting of only 1000 records (either copy into a new list with size 1000 or by using removeRange method in ArrayList.

Write code to return a sorted array of int, when passed in 2 sorted array of int to the method.

4 Answers

You have 2 3 gallon bucket, one 5 gallon bucket. How do you get 4 gallons of water?

6 Answers

How would you deal with a task that you have no clue how to do and no one is available to help you?

3 Answers

There are 9 balls one of which is lighter than the others. How would you find the lighter ball in 2 tries

5 Answers

I was asked about how to avoid data corruption in relational databases. (very broadly, not specifics)

2 Answers

If you invested $100 right now and earned 10% returns in your first year and then lost 10% in year 2, how much money would you have at the end of year 2?

2 Answers

Describe a data structure for phone numbers in a particular area.

2 Answers

Are you ready for your SAS exam?

2 Answers

If 80% of Ford's sales is in Europe, what would happen to company's annual revenue if the exchange rate decline from 1.5 to 1.

4 Answers
110 of 1,380 Interview Questions