Find the Minimum Absolute Difference

Read the full interview experience this question came from →

Quick Overview

Find the smallest absolute difference between values at two distinct positions without changing the caller's list. Cover duplicates, negative and very large integers, correctness reasoning, time and space complexity, all-minimum-pair output, and online-update follow-ups.

Find the Minimum Absolute Difference

Company: Upstart

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Online Assessment

Overview: Find the smallest absolute difference between values at two distinct positions without changing the caller's list. Cover duplicates, negative and very large integers, correctness reasoning, time and space complexity, all-minimum-pair output, and online-update follow-ups.

Read the full Upstart Software Engineer interview experience this question came from

|Home/Coding & Algorithms/Upstart
Upstart logo
Upstart
Jul 27, 2026
mediumSoftware EngineerOnline AssessmentCoding & Algorithms
10
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...