Interview questions / 面试问题

LumiMeds · Software Engineer

Please answer the questions below in writing and send your answers back by [DATE].

请以书面形式回答以下问题,并在 [日期] 之前发回给我们。

Questions / 问题

  1. Tell me about a problem you found and fixed that nobody asked you to look at. How did you notice it, and what did you do?
    请讲一个你主动发现并解决的问题——没有人要求你去处理它。你是怎么发现的?你做了什么?
  2. A customer clicks "Pay" and the request to the payment provider times out. How would you design the flow so the customer is never charged twice and never left with an order that wasn't paid for?
    用户点击“支付”,请求支付服务商时超时。你会如何设计流程,确保用户不会被重复扣款,也不会留下一个未付款的订单?
  3. You get a vague task: "Users say checkout feels slow." The product manager is away for a week. What do you do from day one until you ship something?
    你接到一个模糊的任务:“用户反馈结账很慢。”产品经理一周不在。从第一天到上线,你会怎么做?
  4. A business partner wants customers to pay before filling in the medical questionnaire, with an automatic refund if the doctor rejects them. Conversion would go up. Would you build it? Why or why not?
    一个业务合作方希望用户在填写医疗问卷之前先付款,如果医生不批准则自动退款。这样转化率会提高。你会做这个功能吗?为什么?
  5. Purchases dropped 15% last week and nobody knows why. What do you do on Monday morning?
    上周购买量下降了 15%,没人知道原因。周一早上你会做什么?
  6. On our Next.js checkout page, customers sometimes still see the old price after they change their plan. How do you find out why?
    在我们的 Next.js 结账页面上,用户更换套餐后,有时仍然看到旧的价格。你如何找出原因?
  7. You can ship a feature this week using a known shortcut, or in three weeks done properly. How do you decide?
    一个功能你可以本周用一个已知的“捷径”上线,或者花三周时间把它做好。你如何做决定?
  8. Design the database tables for discount codes: percentage or fixed amount, an expiry date, and each customer can use a code only once.
    为优惠码设计数据库表:支持百分比或固定金额折扣、有效期,并且每个用户只能使用一次同一个优惠码。