companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Remove Duplicate Letters

53.2% acceptance · asked by 13 companies

Solve on LeetCode
StringGreedyStackMonotonic Stack

Workspace

Scratch, run, iterate — then submit on LeetCode

Custom input (stdin)

Console

Output appears here. Runs on the free Piston sandbox.

Your notes

Sign in to keep markdown notes on this problem — approach, complexity, gotchas.

Who asks this

Increff100Expedia100Factset100Bytedance88DE Shaw

Related problems

Valid Parentheses
Easy
Longest Substring Without Repeating Characters
Medium
Group Anagrams
Medium
Longest Palindromic Substring
Medium
Longest Common Prefix
Easy
75
Paytm75
Zoho50
Tiktok50
Google38
Amazon38
Microsoft38
Meta25
Bloomberg25