DMITRII’s Substack

DMITRII’s Substack

Share this post

DMITRII’s Substack
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
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
User's avatar
© 2025 DMITRII SAMOILENKO
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More