</>OfferRetriever
DashboardDiscuss
NEW

Halloween Sale

Unlock all premium questions for over 30% off

$10.42$7.08/mo

--

:

--

:

--

:

--

Get this deal
Back to Amazon Questions

Find Minimum Reverse Operations

Medium

Question

Grayscale images at a company are saved as binary strings: a white pixel is written as '1' and a black pixel as '0'. Reading an image's string from the last character to the first gives the image's reverse. Making a backup relies on a single move, which may be used as often as needed: take any one character out of the string, wherever it sits, and put it back at the very end. ...

Asked at:Amazon

More Amazon interview questions

All Amazon interview questions
OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCodeCompare
LEGAL

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.