🧠 POTD — Day 19 Problem: Lexicographically Largest String with One Swap Given a string s, find the largest lexicographical string that can be obtained by swapping at most one pair of characters. 🚀 ...
# Given integers n and k, find the lexicographically k-th smallest integer in the range from 1 to n. # Note: 1 <= k <= n <= 109.