Roblox software engineer interviews cover algorithms, data structures, system design, and coding problems drawn from real interview rounds.
Is Function Complete You need to implement a function isFuncComplete that determines if a code string represents a "complete" input. This is a...
Building Height Management You are managing a row of building structures with varying heights. Your goal is to transform these structures into a...
Input: Number(s)Problem Statement Design a matchmaking system for a multiplayer game that pairs users with the best game instance to ensure users have the optimal...
Input: Graph (nodes and edges)flaggedTerms: a list of detected violation...Input: ListRequestRateDetector class. configure(limit: int, window: int) -...Input: Number(s)tasks of length n and an integer...Input: Arraytarget. Implement a function to find the index of the lowest rating that is greater than or equal to target. If no such rating exists, return -1.def find_best_game_index(ratings: List[int], target: int) -> int:ratings = [1, 3, 5, 7, 9], target = 6 3 6 is 7, which is at index 3.ratings = [1, 3, 5, 7, 9], target = 10 -1 10.0 <= len(ratings) <= 10^4 -10^4 <= ratings[i] <= 10^4 ratings will be sorted in ascending order.def maximize_revenue(revenue: List[int]) -> int: [3, 2, 5, 10, 7] 15 [1, 2, 3, 1] 4 1 <= len(revenue) <= 1000 0 <= revenue[i] <= 1000 def binary_tree_paths(root: Optional[TreeNode]) -> List[str]:root = [1,2,3,null,5] ['1->2->5', '1->3'] 1 to leaves 5 and 3 are valid. root = [1] ['1'] [1, 100].[-1000, 1000].s representing a sequence of characters in Roblox, full of various gameplay actions, find the length of the longest substring without repeating characters. This substring represents a period of unique gameplay actions without repetition. def length_of_longest_substring(s: str) -> int:"abcabcbb" 3 "abc", with length 3.Example 2: "bbbbb" 1 "b", with length 1.Constraints: 0 <= len(s) <= 50,000 s consists of English letters, digits, symbols, and spaces.startTime, endTime, and a priority level. Your goal is to maximize the number of high-priority tasks that can be scheduled without overlapping. Overlapping occurs when one task's startTime is less than another's endTime. def schedule_tasks(tasks: List[Tuple[int, int, int]]) -> List[Tuple[int, int, int]]: [(1, 3, 1), (2, 5, 2), (4, 6, 1), (6, 8, 2)] [(1, 3, 1), (4, 6, 1)] [(1, 4, 3), (3, 5, 2), (5, 7, 2), (8, 10, 3)] [(1, 4, 3), (5, 7, 2), (8, 10, 3)] Sign up for free to access walkthroughs, AI-generated questions, and more.
Get Started Free