[Interview] 2024

Retool

第一题 写个function实现猜词游戏的结果 两个参数 一个答案 一个猜的词 输出结果 答案跟猜的词里面都没有重复的字母
比如答案是“abcd” 猜的是“acde” 结果就是“GYY” G表示good 位置跟字母都对 Y表示字母对 位置不对 表示什么都不是
第二个题目 给你一个之前猜的词 还‍‌‍‍‍‌‍‌‍‍‌‌‍‍‍‌‍‍有结果 还有一个单词的list 让你找到字典里面更接近的一个词
比如 “abcd” 结果 “GYY_” 然后一堆单词的list

Scale AI

Poker

一种纸牌游戏的模拟,玩家轮流出牌、比较牌面大小以决定‍‌‍‍‍‌‍‌‍‍‌‌‍‍‍‌‍‍每轮胜者。游戏要进行13轮

https://www.1point3acres.com/bbs/thread-1031021-1-1.html

First need to generate 52 cards, 13 ranks in each of the four suits: clubs (♣), diamonds (♦), hearts (♥) and spades (♠), then implement draw cards function and shuffle function。Then create 2 Play/Hand, each player gets 5 cards from the deck, then 2 players compares with each other using their biggest card,who is bigger who wins, otherwise tie

Anthropic

1
2
3
4
5
6
7
8
9
Requirements
1. Implement a simple cloud storage system that maps objects (files) to their meta-information.
2. Maintain files along with information such as name, size, etc.
3. Plan the design according to the level specifications below (current level is in bold).
**Levels:**
- **Level 1:** The cloud storage system should support adding new files, retrieving files, and moving files.
- **Level 2:** The cloud storage system should support displaying the largest files.
- **Level 3:** The cloud storage system should support file versioning.
- **Level 4:** The cloud storage system should support deleti‍‌‍‍‍‌‍‌‍‍‌‌‍‍‍‌‍‍ng and restoring files based on some given prefixes.