Available question text
The source lists this question by title. A full statement is not available in this collection.
Check the source for more detail. You can use the workspace to record questions, notes, and an approach.
This entry contains problem metadata. Read the source for the complete statement.
Related questions
Continue with questions that share topics or the same question type.
- Longest Balanced Substring I
Coding · Counting · Enumeration · Hash Table
- Reorganize String
Coding · Counting · Greedy · Hash Table
- Lexicographically Smallest String After Deleting Duplicate Characters
Coding · Greedy · Hash Table · Monotonic Stack
- Using a Robot to Print the Lexicographically Smallest String
Coding · Greedy · Hash Table · Stack
Sources · 2 references
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
LeetCode · 1 record
No company association
Official problem listing
Lexicographically Smallest Permutation Greater Than Target
Source snapshot: Nov 13, 2026
Verified official problem metadata. This is not evidence of a recent interview ask.
View source
LeetCode company tags · 2 records
Amazon
Archived company tags
Lexicographically Smallest Permutation Greater Than Target
Source window: all_time
Source snapshot: Oct 20, 2026
Historical tags, not proof of a recent interview ask. Snapshot: 2026-10-20.
View sourceGoogle
Archived company tags
Lexicographically Smallest Permutation Greater Than Target
Source window: all_time
Source snapshot: Oct 20, 2026
Historical tags, not proof of a recent interview ask. Snapshot: 2026-10-20.