← NCR Corporation questions
CodingReported in a candidate post, Sep 2021

Minimize sum of absolute differences

Filed under NCR Corporation · Also reported at Amazon

The question

Write code to minimize the sum of absolute differences between adjacent elements in an array.

No write-up yet. Related questions below have one.

Related NCR Corporation questions

Collected from public candidate posts and coding forums. Updated Nov 2026.