1p3a Question · Sep 2025

Amazon Online Assessment Algorithm Swap Minimum Operations Problem

Question Details

Problem Statement You are given two arrays of length $n$: fileSize, representing the sizes of $n$ files, and affinity, representing the specific file size each of the $n$ viruses targets. A vi

Full Details

🔒

Unlock all Amazon questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a amazon interview for a swe role during the oa round reported in 2025.

It covers the following topics: Arrays, Behavioral .