注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
7月份面試Stripe, 總共四關,
第一關Accept Language, 只有寫出2part, 貌似還有follow up沒時間了, 驚險過下一關
Part 1
The device we are writing contains user-facing strings that need to be localized based upon the language preferences of the calling application. Our device doesn't support every possible language that might be requested (yet!), but there is a set of languages that we do already support. We need to find the closest language that we can use based upon the application’s preferences.
The calling application has defined its supported languages in the form of a comma-separated list of language tags. For example:
Acceptable Languages: en-US, fr-CA, fr-FR
means that the application would accept:
1. English as spoken in the United States (most preferred)
2. French as spoken in Canada
3. French as spoken in France (least preferred)
Write a function that receives two arguments:
A string that contains a comma-separated list of the application’s preferred languages
Lng service (called Ledger) that keeps track of money sent and money received on behalf of a merchant. The purpose of this service is to record all financial activity and allow getting the account balance for a given merchant.
The Ledger should support the following operations:
- Record money sent or received on behalf of a merchant
- Get account balance for a given merchant
What APIs would you build for a system like this?
How would you go about building this system?
第四關, Manager, behavior question
心得:
感覺題目都不會太困難都是地上有的題目, 好好準備遇到原題機會很大,
無奈有幾關表現不好, 一周後收到reject!
求大米看面試心得! 謝謝 |