Quick Overview

A search autocomplete problem: given a timestamped log of past searches and a list of typed prefixes with request times, return up to a fixed number of suggestions per request. It tests filtering by time and prefix, counting repeated queries, and a three-level ranking by search count, first search time and alphabetical order.

Search Autocomplete from a Timestamped Query Log, Ranked by Count with Tie-Breaks

Company: Roblox

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: A search autocomplete problem: given a timestamped log of past searches and a list of typed prefixes with request times, return up to a fixed number of suggestions per request. It tests filtering by time and prefix, counting repeated queries, and a three-level ranking by search count, first search time and alphabetical order.

Read the full Roblox Software Engineer interview experience this question came from

Search Autocomplete from a Timestamped Query Log, Ranked by Count with Tie-Breaks

Roblox • Software Engineer

Loading…