Software Engineer • Senior-Level
San Francisco Bay Area
Software Engineer • Senior-Level
High QualityRound Type
Onsite
Interview Date
Oct 16, 2026
Interview Process
1 round
Interview Source
Not provided
Practice Other Questions that Zoox Asked
Continue with targeted prep from Zoox's coding question bank.
Interview Summary
Go Language Trivia, Coding, and Behavioral Interview
Interview Details
Part 1 — Go Trivia: Slice Backing Array
The first question asked me to predict the output of a program involving slices and append(). The code was conceptually:
func extend(nums []int) []int { nums = append(nums, len(nums)) return nums } func main() { values := []int{4, 8, 12, 0, 0, 0, 0} prefix := values[:3] result := extend(prefix) fmt.Println(values) fmt.Println(prefix) fmt.Println(result) }func extend(nums []int) []int { nums = append(nums, len(nums)) return nums } func main() { values := []int{4, 8, 12, 0, 0, 0, 0} prefix := values[:3] result := extend(prefix) fmt.Println(values) fmt.Println(prefix) fmt.Println(result) }
The question tested understanding of:
- Slice length versus capacity
- Shared backing arrays
- What happens when
append()has enough remaining capacity - How modifying an appended slice can affect the original underlying array
I answered this question correctly.
Part 2 — Go Trivia: Taking the Address of a Loop Variable
The second question involved storing pointers to a loop variable:
var values []*int for i := 0; i < 3; i++ { values = append(values, &i) } for _, ptr :=var values []*int for i := 0; i < 3; i++ { values = append(values, &i) } for _, ptr :=
Unlock Full Details
Create a free account to unlock this interview experience report.