📣 黑五网一特惠|VIP一年通行证5折,蓝莓、Offer多多同步特惠
回复: 3
跳转到指定楼层
上一主题 下一主题
收起左侧

cloudkitchen take home assignment

全局:

2026(1-3月) 码农类General 硕士 全职@cloudkitchens - 网上海投 - Onsite  | 😃 Positive 😐 Average | Pass | 在职跳槽
Cloudkitchen 回家作业 java版实现,all test passed。供参考




补充内容 (2026-01-30 04:11 +08:00):
Backend Engineering Challenge
Build a real-time system for fulfillment of food orders in a delivery-only kitchen. Your system
should allow orders to be received, stored and eventually picked up. All of these events can
happen concurrently.
Order fulfillment
Food orders have the following attributes:
● ID . A short identifier (e.g., e6bc2 ) used to identify the correct order at pick up.
● Name . The name of food (e.g., Cheese Pizza ).
● Temperature . Ideal storage temperature: hot , cold or room .
● Price . Order price in dollars.
● Freshness . Duration (in seconds) the food remains fresh at its ideal temperature.
An order not stored at its ideal temperature degrades twice as quickly.
Placing orders
When a new order is received, the system instantly cooks the order and stores it until pick up.
The following options are available for storage:
● Cooler . Holds up to 6 cold orders at cold temperature.
● Heater . Holds up to 6 hot orders at hot temperature.
● Shelf . Holds up to 12 orders at room temperature.
To ensure the food remains as fresh as possible, the system should try to store a cooked order
at its ideal temperature. If the ideal option is full, the order must be placed on the shelf. If the
shelf is also full, the system should first move an existing, cold or hot order on the shelf to either
the cooler or heater, respectively, if there is room. If no such move is possible, an order stored
on the shelf must be selected – thoughtfully using a criteria of your choice – and discarded first
to make room for the new order.
Removing orders
When an order is picked up, it must be removed quickly without moving other orders around. No
action is taken by the kitchen if the order is not present.
If an order has exceeded its freshness duration at the time of pickup, it must be discarded
instead.
[PRIVILEGED & CONFIDENTIAL
您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
使用VIP即刻解锁阅读权限或查看其他获取积分的方式
游客,您好!
本帖隐藏的内容需要积分高于 188 才可浏览
您当前积分为 0。
VIP即刻解锁阅读权限 或 查看其他获取积分的方式
Unlock interview details and practice with AI
Popular Interview Questions from Top Companies
"temp": "hot", // Ideal storage temperature

"price": 10, // Price in dollars
"freshness": 120 // Freshness duration (in seconds)
[PRIVILEGED & CONFIDENTIAL]
},
...
]
Solve problem
Submits a solution to a test problem.
Request:
POST
Query params:
Name Type Description
auth string Authentication token (required)
Headers:
Name Type Description
x-test-id string Test id (required)
Content-Type string application/json
The body must contain a list of actions and parameters encoded as json as follows:
{
"options": {
"rate": 500000, // Inverse order rate (in microseconds)
"min": 4000000, // Min pickup time (in microseconds)
"max": 8000000 // Max pickup time (in microseconds)
},
"actions": [{
"timestamp": 1667667202596000, // Unix timestamp (in microseconds)
"id": "e6bc2", // Order id
"action": "place" // Action: place, move, pickup or discard
"target": "cooler" // Target: heater, cooler or shelf
},
...
]}
Response:
The body contains a string with the pass/fail test result.

本帖子中包含更多资源

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

x

评分

参与人数 5大米 +46 收起 理由
匿名用户-EQ5Q0 + 12 给你点个赞!
kratosyl + 1 给你点个赞!
kangkangju + 2 很有用的信息!
hufoh + 1 给你点个赞!
instant_dev + 30 给你点个赞!

查看全部评分


上一篇:阿都比 全栈 OA 挂
下一篇:Anthropic OA
地里匿名用户
🔗
匿名用户-OKJOV  2026-4-18 05:21:59 来自APP
did you pass the take home assignment
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-OKJOV  2026-4-18 05:22:29 来自APP
did you pass the take home assignment
回复

使用道具 举报

地里匿名用户
🔗
匿名用户-W7FTJ  2026-9-19 01:24:08
Given that you passed the take-home, could you shed some light on how were the virtual onsite interview rounds?
Thanks
回复

使用道具 举报

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

本版积分规则

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