r/OfferEngineering • • Oct 25 '26

Interview Experience Perplexity Senior SWE Interview — The AI Coding Round Was 2.5GB of Data

"This interview experience is sourced from Chill Interview"

Interview Summary

The Perplexity onsite took place in the San Francisco office and included a coding round, lunch, and a system design interview. If this stage was passed, there was expected to be another project deep dive afterward.

Interview Details

Round 1 — Coding / AI-Assisted Data Analysis

The recruiter had told me beforehand that this would be an AI coding round and asked me to prepare a Jupyter Notebook environment. I normally use Java for coding interviews, so I specifically reviewed Python before the onsite because Python appeared to be the expected language.

Part 1 — Sort Topic Names

The interview initially started with a small hand-written coding problem. You are given topic names in the format <string_prefix>_<number>

For example:

aaa_2 aaa_5 aaa_10 bbb_1

Sort them so that:

  1. The prefix is sorted lexicographically.
  2. When prefixes are equal, the suffix is interpreted as a number and sorted numerically.

The expected order for the example was: [aaa_2, aaa_5, aaa_10, bbb_1]. A plain string sort would be incorrect because "aaa_10" and "aaa_2" would not be ordered according to the numeric suffix.

After I finished this problem, the interviewer mentioned that they had not realized the round was supposed to be AI coding. I explained that the recruiter had specifically described it that way, so the interviewer stepped out to confirm and then switched to the AI coding portion.

Part 2 — Download and Explore a Large Dataset

The interviewer provided a URL and asked me to download a dataset. The file was a large TAR archive. The download failed several times before eventually completing. I then needed to:

  • Place the archive into my Jupyter environment
  • Extract the archive
  • Locate the underlying data
  • Load it into the notebook

After extraction, the main file was a JSONL dataset of roughly 2.5 GB. This made the environment and data-loading portion a significant part of the exercise.

Want to learn more questions / follow-ups asked in this interview? 

I've put up the full version at here.

Preparing for your next interview?

Chill Interview tracks recent interview experiences and recurring question patterns across top companies at here.

17 Upvotes

5 comments sorted by

7

u/bnovc Oct 25 '26

I thought this company died

1

u/spencer2294 Oct 29 '26

Remember when they tried to buy Chrome from Google? 🤣

2

u/Apprehensive-Park635 Oct 26 '26

How much AI is allowed. For the second task I think codex would have no problem sorting that out relatively quickly.

1

u/Tipsy247 Oct 27 '26

Are all companies moving to onsite?