private equity Interview Questions | Glassdoor

Companies matching "private equity"

PEI Interviews

www.thisispei.com /  HQ: London

5 Interviews

3.2 Average

New Trier Partners Real Estate Private Equity Interviews

www.newtrierpartners.com /  HQ: Lincolnwood

4 Interviews

2.0 Easy

MVision Interviews

www.mvision.com /  HQ: London

1 Interviews

2.0 Easy

private equity 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

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

The volume on the computer was too low

2 Answers

What is EBITDA?

1 Answer

Tell me about a design pattern you know and how you have used it in the past.

1 Answer
110 of 1,212 Interview Questions