感觉很不靠谱.... 让我写个算法给发过去.
其实我心里有答案了,我打算过掉,没那么多闲功夫....
这个算法真要写好的话,得研究个2,3天.
我还不如看会电影呢...
INTERVIEW TASK for: Web API Developer and .NET Developer – For CORE team
1. Make a library that is able to convert US odds to both Decimal and HongKong odds.
Details on how to do the conversion are in Odds
section at
http://en.wikipedia.org/wiki/Sports_betting
2. On every 5th conversion, library waits 1000ms before it returns the result.
3. On every 10th conversion, library must increment a counter in the database by 10.
4. Provide tests that functionality from line 1-3 is implemented according to the
requirements
The library should be able to run in the highly concurrent environment on server cluster.
For database you can use any edition of MS SQL Server, including MS SQL Express.
Language must be c#.
Please Note:
Please upload the assignment where we can download it from such as Google Drive or
Dropbox.
To complete the assignment, it may be helpful for you to know that our business focuses on
technical research and development for the on-line betting, gaming and entertainment industry
in particular please visit xxx website.