Uber Data Scientist Coding & Algorithms Interview Questions

Practice 15 real Coding & Algorithms interview questions for Data Scientist roles at Uber.

15 Questions 1 Company04.30.2026
Showing 15 results
Role
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Compute CDF from a PDF Function

This question evaluates a candidate's skills in numerical integration, applied numerical methods, and probability/statistics by requiring construction...

Coding & Algorithms
3
0
42 people solved
Apr 30, 2026
Uber logo
Uber
Medium
Data Scientist

Convert a PDF to a CDF

Given a continuous random variable X with probability density function f(x), write code or describe an algorithm to construct its cumulative distribut...

Coding & Algorithms
10
0
79 people solved
Jan 14, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Implement FizzBuzz

This question evaluates a candidate's ability to implement basic control flow, use modulo operations, iterate over sequences, and reason about time an...

Coding & Algorithms
4
0
52 people solved
Feb 27, 2026
Uber logo
Uber
Medium
Data Scientist

Design airport dispatch with ETA uncertainty

You control airport pickups with streaming ETAs for arriving flights and live driver locations/queues. Design an online dispatch algorithm that minimi...

Coding & Algorithms
15
0
103 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist Locked

Move zeros to the front

This question evaluates array manipulation and in-place algorithm competencies, including handling space-time trade-offs and preserving relative order...

Coding & Algorithms
4
0
38 people solved
Jan 30, 2026
Uber logo
Uber
Medium
Data Scientist Locked

Move zeros to front

This question evaluates array manipulation and in-place algorithm skills, specifically competency in stable element reordering, index management, and ...

Coding & Algorithms
4
0
32 people solved
Jan 18, 2026
Uber logo
Uber
Medium
Data Scientist

Compute square root to 1 decimal

Problem Given a non-negative real number x, implement a function sqrt1dp(x) that returns \(\sqrt{x}\) rounded (or truncated—clarify with interviewer) ...

Coding & Algorithms
15
0
109 people solved
Sep 16, 2025
Uber logo
Uber
Medium
Data ScientistSenior+

Find the Next Larger Palindrome

Given a positive integer n, return the smallest integer strictly greater than n whose decimal representation is a palindrome. A palindrome reads the s...

Coding & Algorithms
2
0
24 people solved
Apr 10, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Can one car serve all riders?

This question evaluates understanding of interval scheduling and conflict detection, testing skills in time-interval reasoning, sorting, and efficient...

Coding & Algorithms
6
0
71 people solved
Apr 6, 2026
Uber logo
Uber
Medium
Data ScientistNew Grad Locked

Implement FizzBuzz

This question evaluates basic programming and algorithmic reasoning, including control flow, modular arithmetic, string handling, and the ability to a...

Coding & Algorithms
4
0
64 people solved
Mar 22, 2026
Uber logo
Uber
Medium
Data Scientist

Move zeros to the front

Given an integer array nums, move all elements equal to 0 to the beginning of the array while preserving the relative order of all non-zero elements. ...

Coding & Algorithms
4
1
55 people solved
Feb 1, 2026
Uber logo
Uber
Medium
Data Scientist

Implement weighted sampling without replacement

Implement in Python a function sample_k(items, weights, k) that returns k items without replacement with probability proportional to weight. Requireme...

Coding & Algorithms
8
0
121 people solved
Oct 13, 2025
Uber logo
Uber
Hard
Data Scientist

Implement sqrt with Newton vs binary search

Implement numerically robust square-root routines and analyze convergence Task 1 — sqrt_newton(x, tol=1e-12) Implement a Python function that returns ...

Coding & Algorithms
7
0
138 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Check anagrams under real-world constraints

Given two strings s and t, determine whether they contain exactly the same multiset of characters (e.g., 'abc' and 'cab' → true; 'aab' and 'ab' → fals...

Coding & Algorithms
4
0
84 people solved
Oct 13, 2025
Uber logo
Uber
Medium
Data Scientist

Compute maximum concurrent trips from intervals

You’re given n trip intervals [start, end) in seconds, where start < end, representing when a rider’s trip starts and ends in a city on a specific day...

Coding & Algorithms
16
0
164 people solved
Oct 13, 2025

Explore more Uber Data Scientist interview questions

Real questions from candidate reports, grouped by topic.

Other Uber Data Scientist categories
Browse all