1p3a Question · Feb 2026 · Los Angeles

Grep With Context Lines

Question Details

Grep With Context Lines ## Problem Requirements You are given a document. It is stored as a list of strings, where each string is one line of text. You need to write a function that acts like a simp

Full Details

🔒

Unlock all Snowflake questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a snowflake interview for a swe role reported in 2025.

It covers the following topics: Arrays, Queue, Stack, Strings, System Design .

Difficulty rating: Easy