Open guoyiz23 opened 2 months ago
Thank you for suggesting the problem. Regarding the problem title, I think something like "lexicographically smallest subsequence" would sound more natural.
As for the search tags, we currently have no plans to implement them.
Problem name: Lexicographically smallest post-removal
Problem
Given a list $a$ of integers, return the lexigraphically smallest list after removing at most $K$ elements.
Constraint
Solution / Reference
Based on https://atcoder.jp/contests/abc262/editorial/4531
Note
There may already be an item that tests this but it is not straightforward to find. Thus, I thought that on the site, one could add keywords for each of the items in the "Problem List" and a corresponding search feature. A keyword for this item would be "lexicographic".