DMITRII’s Substack
Subscribe
Sign in
Share this post
DMITRII’s Substack
# 25.01.2025 [2948. Make Lexicographically Smallest Array by Swapping Elements]
Copy link
Facebook
Email
Notes
More
# 25.01.2025 [2948. Make Lexicographically…
DMITRII SAMOILENKO
Jan 25
Share this post
DMITRII’s Substack
# 25.01.2025 [2948. Make Lexicographically Smallest Array by Swapping Elements]
Copy link
Facebook
Email
Notes
More
Sort by swapping ab, where abs(a - b) < limit #medium
Read →
Comments
Share
Copy link
Facebook
Email
Notes
More
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts
Share this post
# 25.01.2025 [2948. Make Lexicographically…
Share this post
Sort by swapping ab, where abs(a - b) < limit #medium