City of London, England interview questions | Glassdoor.co.uk

# Interview questions in City of London, England

Bloomberg L.P. Interviews in City of London

www.bloomberg.com /  HQ: New York, NY

24 Interviews in City of London (of 4,525)

2.8 Average

UBS Interviews in City of London

www.ubs.com /  HQ: Zurich, SZ

12 Interviews in City of London (of 1,637)

3.5 Difficult

Goldman Sachs Interviews in City of London

www.goldmansachs.com /  HQ: New York, NY

10 Interviews in City of London (of 4,275)

3.2 Average

## Interview Questions in City of London

Sort: RelevancePopular Date

### Assistant Trader at Jane Street was asked...

3 Sep 2012
 Pretty standard question that has been asked before... keep flipping a coin until a winning combination appears (either HHT or HTT). Which strategy would you pick given the choice and why. Find the probabilities of winning associated with each strategy.5 AnswersEssentially HHT is the better strategy. The probabilities are 2/3 HHT and 1/3 HTT. To see this if you draw a tree diagram (best to draw 4-5 iterations if you can't see it) and look at all the possible ways of winning. It turns out HHT is twice as likely to win hence the 2/3, 1/3 split.By drawing 5 iterations, both HHT and HTT seem to make an appearance 7 times. How is HHT twice as likely to win?The mathematical expectation of hte number of flipping for both compbinations is 25/2. In any case the probabilities of appearance of these compbinations are the same, so one can use both strategies with the same result. 50% 50%Show more responsesBecause you can throw h h h and all you need to throw is a tails to get HHt, but there is no fail, please play again throw for htt, so yes, on a throw of 3, they have th same probability, but in a continued series you can play again on h h t if you fail on th 3rd throw.Note that both HHT and HTT combination starts with H, so you can almost neglect H, so when you first observe an H, you wait for HT or TT both of which are equally as likely given the order matters i.e. (HT and TH are different), hence both should be good strategies.

### Software Engineer at Jane Street was asked...

4 Mar 2012
 Given a list of words, right a function to return a list of pairs of palindromes5 AnswersPresume you mean pairs of ANAGRAMS? Otherwise why would palindromes come in pairs? Simple O(n^2) implementation in Python: for left in words: for right in words: if (not left==right and sorted(left)==sorted(right)): print (left, right)from itertools import combinations def find_anagrams(words): return [(a, b) for a, b in combinations(set(words), 2) if sorted(a) == sorted(b)]A simple C++ solutions. O(nlogn). void reverse(string &s) { int len = s.length(); for(int i = 0, j = len-1; i palindromes(vector words) { if(words.empty()) return words; vector pal; sort(words.begin(), words.end()); vector::iterator it = words.begin(); for(; it != words.end(); ) { string tmp = *it; reverse(tmp); if(binary_search(++it, words.end(), tmp)) { pal.push_back(tmp); cout<Show more responsesstd::vector getPalindromePairs(std::vector words) { std::vector pairs; for (auto word : words) { std::string str = word; std::reverse(str.begin(), str.end()); if (word == str) { pairs.push_back(word); } } return pairs; } Worst case is O(nm) where m is the longest string length.1. Build a HashMap key -> current string, value -> reversed string. 2. Traverse the hashmap, add the strings to a list, where key == Value. 3. return list.

### Quantitative Analyst at Google was asked...

19 Oct 2011
 derive the formula for the variance of OLS from scratch4 Answersdelta^2*(x'x)^(-1)I think you meant: sigma^2*(x'x)^-1Both of these are wrong. Beta_hat = (X'X)^(-1)(X'Y)Show more responseshttps://en.wikipedia.org/wiki/Proofs_involving_ordinary_least_squares

13 Jul 2012

### Developer at Crédit Agricole was asked...

6 Jan 2010
 How do you price a IR Swap?1 AnswerI just answered present value of fixed leg and floating leg.

### Finance Analyst at Goldman Sachs was asked...

1 Mar 2010
 What is liquidity?1 Answerthe ability for an asset to be turned into cash. Ex. accounts receivable or money market securities are VERY liquid....While PPE are illiquid.

### Analyst Intern at Accenture was asked...

28 Apr 2009
 Who are Accenture's main competitors?1 AnswerIBM, Deloitte, Capgemini,

### General Associate at Honda UK was asked...

13 Jul 2012
 Where do you see yourself in 10 years time1 AnswerNo idea about the future

### Technical Analyst at Goldman Sachs was asked...

17 Dec 2010
 Why do you choose Goldman Sachs2 AnswersLloyd Blankfein?Gus Levy

### Insurance Broker at Willis Towers Watson was asked...

1 Aug 2011
 Could you tell me about what reinsurance is?1 AnswerI had researched insurance, but not reinsurance specifically (different from Insurance, as reinsurance, as I know now is the insurance of other insurance companies) meaning I stumbled over this question.
110 of 372 Interview Questions