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

Anthropic Online Assessment

   
🔗
匿名用户-E6HNQ  2024-1-31 12:13:46 |倒序浏览
🌺 2
👀 1

2023(1-3月) 工程类 本科 全职@anthropic - 网上海投 - 在线笔试  | 🙁 Negative 😣 Hard | Fail | 在职跳槽

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

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

x
Instructions
Your task is to implement a simplified version of an in-memory database. Plan your design according to the level specifications below:
Solving this task consists of several levels. Subsequent levels are opened when the current level is correctly solved. You always have access to the data for the current and all previous levels.
Requirements
Your task is to implement a simplified version of a banking system. Plan your design according to the level specifications below:
Level 1: In-memory database should support basic operations to manipulate records, fields, and values ​​within fields.
Level 2: In-memory database should support displaying a record's fields based on a filter.
Level 3: In-memory database should support the TTL (Time-To-Live) settings for records.
Level 4: In-memory database should support look-back operations to retrieve values ​​stored at a specific timestamp in the past.
To move to the next level, you need to pass all the tests at this level.
Note
You will receive a list of queries to the system, and the final output should be an array of strings representing the returned values ​​of all queries. Each query will only call one operation.

Level 1
The basic level of the in-memory database contains records. Each record can be accessed with a unique identifier key, which is of string type. A record contains several field-value pairs, with field as string type and value as integer
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
quot;a","0"],
["GET","160000004","a","a"],
["COMPARE_AND_DELETE","160000005","a","a","1"],
["GET","160000006","a","a"],
["GET","160000007","a","A"],
["COMPARE_AND_DELETE","160000008","a","A","2"],
["SET","160000009","a","A","7"],
["SET","160000010","a","A","9"],
["GET","160000011","a","a"],
["GET","160000012","a","A"]]

Expected return: ["", "", "1", "false", "1", "true", "", "2", "true", "", "", "", "9"]

评分

参与人数 8大米 +19 收起 理由
zerx_java + 1 很有用的信息!
corie + 2 很有用的信息!
418Teapot + 2 很有用的信息!
IRONYM + 1 赞一个
xnd0423 + 1 很有用的信息!

查看全部评分


上一篇:TT SRE 第一轮
下一篇:tiktok mle 面经

本帖被以下淘专辑推荐:

全局:
匿名用户 发表于 2024-3-4 14:35
请问三题能过吗?
以及能不能说说是什么worker的题目?

你的满分是多少分?好像大家满分都不一样,我的满分是1000分,看到地里有人满分是600的题目要简单很多
回复

使用道具 举报

地里匿名用户
推荐
匿名用户-8QKX9  2024-3-5 05:35:10
匿名用户 发表于 2024-3-1 16:12
题型都不一样啊 我抽到了worker的一道题 有谁能四道题都做完吗 我第三问还有几个没过  总分60% 肯定挂是吗

请问三题能过吗?
以及能不能说说是什么worker的题目?
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-G01GS  2024-1-31 14:25:11
感谢lz, 好人一生平安,已加米, 请问后续如何
回复

使用道具 举报

🔗
418Teapot 2024-2-26 15:19:01 | 只看该作者
全局:
可以请问下楼主申请的时间线吗?
听说他们家很多人投,resume可能交完几个月才能被看到。。
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-0ID65  2024-3-2 08:12:23
题型都不一样啊 我抽到了worker的一道题 有谁能四道题都做完吗 我第三问还有几个没过  总分60% 肯定挂是吗
回复

使用道具 举报

🔗
kool2000 2024-3-11 15:04:42 | 只看该作者
全局:
请问有第四题题目吗?
回复

使用道具 举报

🔗
羽佳 2024-4-19 00:45:32 | 只看该作者
全局:
据说4题全过才行吗?
回复

使用道具 举报

全局:
windream1991 发表于 2024-03-17 19:41:42
你的满分是多少分?好像大家满分都不一样,我的满分是1000分,看到地里有人满分是600的题目要简单很多
我的也是满分1000,叫industrial coding framework, 出的题比面经里难不少
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-IY3FT  2024-5-10 04:42:39
沉默的战士 发表于 2024-5-2 03:58
我的也是满分1000,叫industrial coding framework, 出的题比面经里难不少

可以透露一下你遇到的题目是什么吗?
回复

使用道具 举报

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

本版积分规则

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