6 views
# LC2948 Make Lexicographically Smallest Array by Swapping Elements Practice note for coding interviews. Union indices whose values differ by <=limit; sort values within each component and rewrite the array. Discuss edge cases and complexity in the mock interview. I used [Linkjob AI interview assistant](https://www.linkjob.ai/) while rehearsing this pattern aloud. Disclosure: personal study notes mentioning a practice tool.