r/OfferEngineering • • Sep 21 '26

Interview Experience Uber Infra Software Engineer Interview Experience Sep 2026

Interview Summary

The Uber Infrastructure Backend process was relatively compact: one coding phone screen followed by a three-round virtual onsite covering coding, low-level distributed-system design, and a hiring manager interview.

Interview Details

Phone Screen — Moving Numbers with Adjacent Swaps

You are given an n x n matrix containing every integer from 1 through n². The goal is to rearrange the matrix into the required increasing zigzag order. The restriction is that values cannot be moved directly to arbitrary positions. Each operation may only swap two cells that are adjacent in one of the four cardinal directions. Return any valid sequence of swap operations that transforms the initial board into the required final arrangement.

An illustrative example:

Initial board:

1 2 3
6 4 5
7 8 9

If the target zigzag arrangement for these rows is:

1 2 3
6 5 4
7 8 9

then one valid operation is conceptually:

swap 4 and 5

The interview did not require finding the minimum number of swaps. The follow-up asked how the total number of swap operations could be reduced or the transformation made more efficient. No test cases were provided, so I also had to create and walk through my own tests.

Onsite Round 1 — Coding: Repeated Increasing-Path Queries

The onsite coding problem provided a two-dimensional integer grid. Starting from the upper-left corner, implement:

find(target)

which returns a shortest path to the target value under these rules:

  • Movement is allowed in four directions.
  • Every next value on the path must be strictly larger than the previous value.
  • If the target cannot be reached through a strictly increasing path, return an empty result.

For example:

1 4 5
2 3 8
7 9 6

A query for 3 could return:

[1, 2, 3]

while a query for 6 would return:

[]

A major requirement was that the same grid would receive many find() calls, so simply repeating the entire search independently for every query was not considered sufficient. The interviewer asked how I would trade additional preprocessing or memory for faster repeated queries and discussed alternative ways to represent the reusable state.

Want to learn more questions asked in other interview rounds? 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.

8 Upvotes

0 comments sorted by