Showing 2 questions
Given a string of digits and a target number of digits to remove, find the smallest possible number after removing the specified digits while maintaining the original order.
#1. Clear Digits
You're given a string that contains lowercase letters and asterisks. Find the lexicographically smallest string you can create by removing characters indicated by the asterisks, pairing from right to left.
#2. Lexicographically Minimum String After Removing Stars
Page 1 of 1 · 2 total