Showing 3 of 25 questions
Given a string, remove duplicate characters while keeping every original character's first occurrence, and return the lexicographically smallest possible result.
#1. Lexicographically Smallest String After Deleting Duplicate Characters
Given an array of integers, find two indices whose absolute distance and difference in values are both greater than or equal to given thresholds. Return the pair of indices or indicate if no such pair exists.
#2. Find Indices With Index and Value Difference I
Find two indices in an array where both the index difference and the absolute value difference between the corresponding elements meet specified thresholds. Return any valid pair of indices.
#3. Find Indices With Index and Value Difference II
Page 1 of 1 · 25 total