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

开放爱 数据标注任务调度这道题

🔗
匿名用户-POPBB  2026-5-13 09:42:14 |倒序浏览

2026(4-6月) 码农类General 硕士 全职@openai - 猎头 - 技术电面  | 😐 Neutral 😐 Average | Other | 其他

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

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

x
地里找到的帖子


但还是不太清楚具体的描述是什么
贴一个 hack2hire 的题干,有人知道具体的正确描述是什么欢迎补充

A data labeling platform manages tasks, human annotators, and AI models. Each entity is represented by a 1-indexed string ID.
You are given integers 
  1. totalTask
复制代码
, 
  1. totalModel
复制代码
, 
  1. totalHuman
复制代码
, and 
  1. k
复制代码
:
  • Tasks are labeled 
    1. "t1"
    复制代码
    , 
    1. "t2"
    复制代码
    , ..., 
    1. "t{totalTask}"
    复制代码
    .
  • Models are labeled 
    1. "m1"
    复制代码
    , 
    1. "m2"
    复制代码
    , ..., 
    1. "m{totalModel}"
    复制代码
    .
  • Human annotators are labeled 
    1. "h1"
    复制代码
    , 
    1. "h2"
    复制代码
    , ..., 
    1. "h{totalHuman}"
    复制代码
    .
An assignment is represented as 
  1. [task, model, human]
复制代码
, meaning the specified human annotates the specified task using the specified model. A task may appear in multiple assignments, meaning the same task can be annotated by multiple humans and paired with multiple models.
Return any valid schedule as a list of assignments such that:
  • Each human appears in at least 
    1. k
    复制代码
     assignments.
  • The same human cannot annotate the same task more than once.
  • Every assignment uses valid task, model, and human IDs within the given ranges.
If no valid schedule exists, return an empty list.
Constraints:
  • 1 ≤ 
    1. totalTask
    复制代码
    , 
    1. totalModel
    复制代码
    , 
    1. totalHuman
    复制代码
     ≤ 10
    您好!
    本帖隐藏的内容需要积分高于 188 才可浏览
    您当前积分为 0。
    使用VIP即刻解锁阅读权限或查看其他获取积分的方式
    游客,您好!
    本帖隐藏的内容需要积分高于 188 才可浏览
    您当前积分为 0。
    VIP即刻解锁阅读权限 或 查看其他获取积分的方式
    Unlock interview details and practice with AI
    Popular Interview Questions from Top Companies
    ;h4"]]
    Explanation: This is one of the possible answers. Each annotator participates in at least 2 assignments. No annotator labels the same task twice. Across every prefix of the schedule, model usage remains balanced for each task and also for each human.Example 2:
    Input: totalTask = 1, totalModel = 1, totalHuman = 1, k = 1
    Output: [["t1", "m1", "h1"]]
    Example 3:
    Input: totalTask = 3, totalModel = 1, totalHuman = 3, k = 2
    Output: [["t1", "m1", "h1"], ["t1", "m1", "h2"], ["t1", "m1", "h3"], ["t2", "m1", "h1"], ["t2", "m1", "h2"], ["t2", "m1", "h3"]]

评分

参与人数 2大米 +7 收起 理由
匿名用户-HXEJN + 6 给你点个赞!
larry514 + 1 能把别的题干也分享一下不?哈哈哈!

查看全部评分


上一篇:OAI VO
下一篇:有不 电面挂经
地里匿名用户
🔗
匿名用户-GROHJ  2026-5-13 10:08:01
楼主方便贴一下解法吗
回复

使用道具 举报

🔗
enlyke 2026-5-13 12:26:26 | 只看该作者
全局:
请问是ML coding吗还是generic coding
回复

使用道具 举报

🔗
larry514 2026-5-15 08:32:22 | 只看该作者
全局:
能把别的题干也分享一下不?哈哈哈!
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-DYFZH  2026-6-22 14:40:22 来自APP
感觉看到最多的版本就是这个,不过这道题如果暴力解的话,加constraint应该挺好改的
回复

使用道具 举报

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

本版积分规则

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