НовоеРабочий режим: ваш Claude Code или Codex на рабочих созвонах — отвечает по коду проектаПерейти к содержимому
Все компании

Airbnb

Последняя вакансия: 1 декабря 2026 г.

Вакансии
5
Собеседования
1
Вопросы
4
Задачи
0

Staff Data Scientist - Martech Platform (ML/Algos)

Senior · Machine Learning / AI · 1 дек.

Lead, Advanced Analytics, Acquisition

Lead · Data Analyst · 15 сент.

Recruiting Manager, Global Operations

Head · California · 11 сент.

По грейдам

  • Head1
  • Lead1
  • Senior1
  • Неизвестно1

По направлениям

  • Неизвестно2
  • Data Analyst1
  • Machine Learning / AI1

По формату работы

  • Удалёнка4

Без направления

1 собеседование

Техническое

Middle · 4 вопроса
19 июл.6 просмотров

По типам этапа

  • Техническое1

По грейдам

  • Middle1

Вопросы и задачи · 4

Без направления

4 вопроса

База деректерінің қандай операциясы жазбаның кейбір өрістерін шығару үшін қолданылады? - **scan(self, timestamp: int, key: str) -> list[str]** — кілтімен байланысты жазбаның өрістерін көрсететін жолдар тізімін қайтару керек. Қайтарылатын тізім келесі форматта болуы керек ["<field_1>(<value_1>)", "<field_2>(<value_2>)", ...], мұнда өрістер лексикографиялық тәртіпте сұрыпталған. Егер көрсетілген жазба жоқ болса, бос тізім қайтарылады. - **scan_by_prefix(self, timestamp: int, key: str, prefix: str) -> list[str]** — кілтімен байланысты жазбаның кейбір өрістерін көрсететін жолдар тізімін қайтару керек. Нақтырақ айтқанда, тек prefix-ке starting өрістер ғана қосылады. Қайтарылатын тізім scan операциясындағыдай болуы керек, өрістер лексикографиялық тәртіпте сұрыпталған.

Middle

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 type. All operations have a timestamp parameter — a stringified timestamp in milliseconds. It is guaranteed that all timestamps are unique and are in a range from 0 to 109. Operations will be given in order of strictly increasing timestamps. Timestamps will be needed starting from Level 3. - set(self, timestamp: int, key: str, field: str, value: int) -> None — should insert a field - value pair to the record associated with key. If the field in the record already exists, replace the existing value with the specified value. If the record does not exist, a new one is created. - compare_and_set(self, timestamp: int, key: str, field: str, expected_value: int, new_value: int) -> bool — should update the value of field in the record associated with key to new_value if the current value equals expected_value. If expected_value does not match the current value, or either key or field does not exist, this operation is ignored. This operation should return True if the field was updated and False otherwise. - compare_and_delete(self, timestamp: int, key: str, field: str, expected_value: int) -> bool — should remove the field field in the record associated with key if the previous value equals expected_value. If expected_value does not match the current value, or either key or field does not exist, this operation is ignored. This operation should return True if the field was removed and False otherwise. - get(self, timestamp: int, key: str, field: str) -> int | None — should return the value contained within field of the record associated with key. If the record or the field does not exist, should return None.

Middle

База данных должна поддерживать операцию получения с возвратом назад. get_when(self, timestamp: int, key: str, field: str, at_timestamp: int) -> int | None — должна возвращать значение поля at_timestamp из записи, связанной с ключом. Если at_timestamp равно 0, выполните операцию get, описанную в Уровне 1. Гарантируется, что at_timestamp не будет больше timestamp. Если указанное поле или запись не существовали на заданном временном штампе, вернуть None.

Middle

Уровень 3 Поддерживайте настройки TTL (Time-To-Live) для записей и полей. Для каждой пары значение-поле в базе данных TTL определяет, как долго это значение будет сохраняться, прежде чем быть удаленным. Примечание: Предполагается, что все соответствующие операции, определенные на предыдущих уровнях, имеют бесконечный TTL. - set_with_ttl(self, timestamp: int, key: str, field: str, value: int, ttl: int) -> None — должен вставлять указанное значение и устанавливать его Time-To-Live, начиная с timestamp. Если поле в записи уже существует, то обновите его значение и TTL. Параметр ttl представляет собой количество временных единиц, в течение которых эта пара значение-поле должна существовать в базе данных, то есть она будет доступна в течение этого интервала: [timestamp, timestamp + ttl). Гарантируется, что ttl больше 0. - compare_and_set_with_ttl(self, timestamp: int, key: str, field: str, expected_value: int, new_value: int, ttl: int) -> bool — то же самое, что compare_and_set, но также должно обновлять TTL нового значения. Эта операция должна возвращать True, если поле было обновлено, и False в противном случае. Гарантируется, что ttl больше 0.

Middle