Bloomberg LP Interview Report
- 0of 0 votes
AnswersYou are given two arrays
- SR January 21, 2010
int Array1[n], Array2[n];
Each array contains numbers which are half even and half odd. Write C code that will return two arrays one having only even numbers and other having only odd numbers. You are not allowed to use additional data structures like hash,array etc but can use temp variables. The solution should have O(n) complexity.| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Algorithm - 0of 0 votes
AnswersWhat types of data structures can you use for Look ups? If you have an associative array A with index "hello". How is A["hello"] actually evaluated , as in how does system map to a memory location using index "hello"
- SR January 21, 2010| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Data Structures - 0of 0 votes
AnswersYou have a database which catalogs all the buildings in NY. You decide to use a 4 byte integer value as unique identifier for the table. Will it work ?
- SR January 21, 2010
(The answer would reduce to finding number of buildings in NY)| Report Duplicate | Flag | PURGE
Bloomberg LP Financial Software Developer Brain Teasers