2948. Make Lexicographically Smallest Array by Swapping Elements
MediumArray · Union-Find · Sorting · 59:07
LeetCode problem 2948, Make Lexicographically Smallest Array by Swapping Elements, was LeetCode's Daily Challenge on Saturday, January 25, 2025. It's rated medium. codestorywithMIK explains the approach step by step in the video above.