LinkedIn 真题曝光:Critical Data Deletion Incident 系统设计题,如何在面试中稳稳拿下?- 一亩三分地 – 面试辅助 – 代面试

最近有同学在 LinkedIn 面试中遇到这样一道题,我们把题目原文整理如下:


Problem Overview

You're working at a large tech company when disaster strikes - a critical data deletion incident has occurred! Your job is to identify all teams that need to be alerted because their data was affected.

Background

The company has a complex organizational structure with multiple teams, each responsible for different datasets. When data gets deleted, it's crucial to quickly identify which teams need to be notified so they can assess the impact and take appropriate action.

Core Requirements

You need to build a system that can:

  • Parse team data relationships - Given a mapping of teams to their data access patterns
  • Identify affected teams - When specific data files are deleted, determine which teams are impacted
  • Generate alert list - Create a prioritized list of teams that need immediate notification

Input Format

The system will receive a JSON file containing:

  • teams: Dictionary mapping team names to their data access patterns
    • data_read: List of data paths the team reads from
    • data_written: List of data paths the team writes to
  • deleted_data: List of data paths that were deleted

Output Format

Return a list of teams that need to be alerted, sorted alphabetically.


题目不长,但面试里它并不简单。

很多人第一反应是:这不就是路径匹配吗?
但真正的难点,是你如何在短时间内把“组织结构 + 数据依赖 + 影响范围”讲清楚。

比如:

  • deleted_data 是精确匹配,还是前缀匹配?
  • 只要 read 过就算影响,还是 write 更严重?
  • 如果一个团队写入的数据被别的团队读,会不会产生二次影响?
  • alphabetical 排序只是输出格式,还是业务优先级?

这类题真正考察的,是你在压力下的建模能力和表达能力。代码本身不复杂,但如果思路讲得不清晰,面试官很难判断你是否具备系统思维。


思路其实对了,但因为没有提前澄清假设,没有结构化表达,最后变成“边写边改”,显得不够 senior。

在 CSOAHelp 的面试辅导里,我们会实时输出最佳答案让你念和抄以通过面试

如果你正在准备 LinkedIn、Meta、Google 这类偏系统思维的题目,这种“数据依赖 + 影响评估”类型其实非常常见。建议联系我

我们也有代面试,面试辅助,OA代写等服务助您早日上岸~

Leave a Reply

Your email address will not be published. Required fields are marked *