Generate the next lexicographic array arrangement
Company: DoorDash
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Onsite
Quick Answer: This question evaluates array-manipulation and permutation-generation skills, including in-place modification, handling negative numbers and duplicates, algorithmic invariants, and meeting O(n) time and O(1) extra space constraints within the Coding & Algorithms domain.