1p3a Question · Oct 2025 · San Francisco

Find Optimal Commute

Question Details

## Problem Statement You have a simplified map of San Francisco. It is a 2D grid. Each square on the grid is one of these: - `'S'`: Your Home (Start). - `'D'`: Your Office (Destination). - A digit `'1

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays Strings Graphs Heap Stack Queue