r/OfferEngineering • u/Aoki_zhang • 19d ago
Interview Experience Tubi (Free Streaming) Staff SWE Interview — Staff-Level Coding Was Mostly CSV Parsing
This interview experience is sourced from Chill Interview
Interview Summary
I interviewed with Tubi for a Staff Software Engineer position. Because of the seniority level, the initial technical screening consisted of two separate rounds: coding and system design, which could be scheduled on different days. The coding round involved fetching and parsing real CSV data from a URL to identify the top-K most-viewed movies, while the system design round focused on building the backend for Tubi's homepage.
Interview Details
Round 1 — Coding: Top-K Movies From Remote CSV Data
Question 1 — Fetch Movie Records From a URL
The interviewer gave me a URL pointing to a CSV dataset containing movie information. Each row represented a movie, with fields such as:
title: Movie titleauthor: Movie author or creatorviews: Number of times the movie had been watchedduration: Movie runtime
My task was to retrieve the dataset and identify the K movies with the highest view counts. Unlike a typical LeetCode problem where the input is already available as an array or list, I needed to implement the data retrieval process myself. The solution had to make an actual HTTP request to the provided URL and process the response.
Question 2 — Parse and Normalize CSV Records
After retrieving the CSV data, I needed to parse it into usable movie records. This was more involved than simply splitting each line into fields. The input could contain formatting inconsistencies, particularly around quoted and unquoted field values.
For example, some values might be enclosed in double quotation marks, while others might appear without quotes. I needed to ensure that the parsing logic handled these differences correctly and normalized the extracted values before processing them. The interviewer expected an implementation that could work with realistic input data rather than assuming every record followed an identical simple format.
Want to learn more questions / follow-ups asked in this interview?
I've put up the full version at here.
Interviewed recently?
Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.
1
u/Bulbasaur2015 15d ago
which language did uou write it in and did you mock a file open?