回复: 4
跳转到指定楼层
上一主题 下一主题
收起左侧

条纹 VO挂经

 
🔗
匿名用户-BCVUS  2022-3-20 06:37:46 |倒序浏览

2022(1-3月) 码农类General 硕士 全职@stripe - 猎头 - 技术电面 视频面试  | 🙁 Negative 🙂 Easy | Fail | 在职跳槽

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
上个月店面和VO 回馈地里。Recruiter很nice;基本都是面筋 但 integration 运气不好。。。经验/教训:
1. 遇到面筋题要装傻 但不能太傻 不然来不及写完。integration要至少做完两个part才算pass
2. debug做好懵逼的准备
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限查看其他获取积分的方式
Unlock interview details and practice with AI
Curated Interview Questions from Top Companies
nk account:
4. HM

5. system design: metrics counter
  1. ## Problem Statement
  2. Imagine you work at a startup with many copies of many different services
  3. running in production. You want to help your engineers keep track of metrics
  4. like number of signups, number of requests, number of errors, etc. So you
  5. introduce the concept of "counters". You build a `Track` library that ships
  6. with every service, and anyone can call `Track.increment("some-metric")`
  7. in their code to increment the `some-metric` counter.

  8. This is really useful for quickly spotting anomalies. If you graph the number
  9. of signups over time and it suddenly goes to zero, then we can assume that
  10. something is not going well. This is mostly an operational tool (for example,
  11. we’re not keeping track of precise dollar amounts for accounting or request
  12. counts for rate limiting). Imagine we want to see the number of signups per
  13. minute for the last 6 hours, or how many fraudulent cards were detected hourly
  14. for the last day, or trends in a feature's adoption over the last few weeks.

  15. Starting from just that interface, design everything that happens after
  16. `Track.increment("some-metric")` gets called on a service, from what happens
  17. inside the service to how the data is sent, collected, stored and accessed.
  18. Think about how to support accessing the data, but don’t worry too much about
  19. any actual graphing UI.


  20. ## Sample System Diagram
  21. ```
  22. +---------------+
  23. | login-service |--> Track.increment("new-signup")
  24. |               |--> Track.increment("new-login")
  25. +---------------+

  26. +-----------------+
  27. | payment-service |  
  28. |                 |--> Track.increment("fraudulent-card")
  29. +-----------------+

  30. +--------------------+
  31. | some-other-service |--> Track.increment("some-metric")
  32. |                    |--> Track.increment("some-other-metric")
  33. +--------------------+

  34. ```
复制代码

评分

参与人数 9大米 +22 收起 理由
李宗基 + 1 给你点个赞!
willywang2_3 + 1 给你点个赞!
louisxielv1 + 1 给你点个赞!
Andyppp + 1 给你点个赞!
sjtugaoman + 1 给你点个赞!

查看全部评分


上一篇:大众云OA面经
下一篇:Microsoft OA 60m 3 tasks

本帖被以下淘专辑推荐:

地里匿名用户
🔗
匿名用户-5QVAL  2022-4-7 11:41:29
请问你有没有问过他们是否需要做 back of envelop,然后他们说要做?
回复

使用道具 举报

🔗
pnhjd 2022-4-9 14:45:11 | 只看该作者
全局:
匿名者 发表于 2022-4-6 20:41
请问你有没有问过他们是否需要做 back of envelop,然后他们说要做?

请问back of envelop是什么意思?
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-5QVAL  2022-4-9 17:20:43
pnhjd 发表于 2022-4-8 23:45
请问back of envelop是什么意思?

capacity calculations / back of the envelope calculations
回复

使用道具 举报

全局:
感谢分享
继续努力!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表