Bloomberg LP Interview Report
- 1of 1 vote
AnswersGiven an array of any length holding integers (a buffer of bytes), write an algorithm to return the first unique element (ie not repeated in rest of the array).
- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm Arrays - 0of 0 votes
AnswersA gold bar is in 7 segments and you need to cut off a segment and pay a member of staff every day. At the end of each day, they must have one more gold segment than they had the previous day. How do you issue 7 segments over 7 days with the fewest amount of cuts?
- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersYou have two ropes of equal length and an unlimited supply of matches. The ropes each take 60 minutes to burn, but do not burn uniformly (ie it does not necessarily take 30 minutes to burn half the rope). How do you use the ropes and matches to time 45 minutes?
- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers - 0of 0 votes
AnswersThere are 3 guys in a room, persons A, B and C. They are shown a box with 3 black hats and 2 white hats. They are all blindfolded and a random hat is placed on each head. Person A's blindfold is removed and is asked which colour hat he has on - answer is "I don't know". Person B's blindfold is removed and he gives the same answer. Person C answers, without having their blindfold removed, the colour of their hat and they are correct. What colour is person C wearing, and how did he know?
- Murtuza Husain December 15, 2009| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers