haldokan
BAN USER- 5of 5 votes
Answers* Given an unsorted integer array, place all zeros to the end of the array without changing the sequence of non-zero
- haldokan in United States
* elements. (i.e. [1,3,0,8,12, 0, 4, 0,7] --> [1,3,8,12,4,7,0,0,0])| Report Duplicate | Flag | PURGE
Bloomberg LP Developer Program Engineer Algorithm - 0of 0 votes
Answers* Implement a tick server the has multiple clients interested in different tickers. Clients have Plotters that are updated
- haldokan in United States
* in real-time with the top 10 tickers that have the most price updates on the top. What data structure would you choose
* for the server and client plotters?| Report Duplicate | Flag | PURGE
Bloomberg LP Developer Program Engineer Algorithm - 0of 0 votes
Answers* Royal titles consist of name followed by space and a Roman numeral. Example: Richard IV. The Roman numeral in the title
- haldokan in United States
* can go to L (50). You are given the roman numerals from 1 to 10:
* I II III IV V VI VII VIII IX X. And you are given the 10 multiples up to 50: XX XXX IL L. Numbers between 10 and 50 that
* are not given can be formed from 10 multiples and a numeral b/w 1 and 9. Example: 48 is XLVIII wichi is XL (40) plus
* VIII (8).
* <p>
* You are given an array of Roman titles sort it as follows: sort it on the name unless the names are equal, in which
* case you have to sort it on the ordinal of the numerals.
* Examples:
* Henry II, Edward VIII => Eward VII, Henry II
* Richard V, Richard II, Richard X => Richard II, Richard V, Richard X| Report Duplicate | Flag | PURGE
Bloomberg LP Developer Program Engineer Algorithm
Sorry the question as posted first was missing the first line. Here it is complete:
- haldokan August 12, 2016* Royal titles consist of name followed by space and a Roman numeral. Example: Richard IV. The Roman numeral in the title
* can go to L (50). You are given the roman numerals from 1 to 10:
* I II III IV V VI VII VIII IX X. And you are given the 10 multiples up to 50: XX XXX IL L. Numbers between 10 and 50 that
* are not given can be formed from 10 multiples and a numeral b/w 1 and 9. Example: 48 is XLVIII wichi is XL (40) plus
* VIII (8).
* <p>
* You are given an array of Roman titles sort it as follows: sort it on the name unless the names are equal, in which
* case you have to sort it on the ordinal of the numerals.
* Examples:
* Henry II, Edward VIII => Eward VII, Henry II
* Richard V, Richard II, Richard X => Richard II, Richard V, Richard X