Quick Overview

This question evaluates array manipulation and in-place algorithm competencies, including handling space-time trade-offs and preserving relative order (stability) while operating with O(1) extra space.

Move zeros to the front

Company: Uber

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: This question evaluates array manipulation and in-place algorithm competencies, including handling space-time trade-offs and preserving relative order (stability) while operating with O(1) extra space.

Read the full Uber Data Scientist interview experience this question came from

Loading…