companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Reorganize String

57.1% acceptance · asked by 21 companies

Solve on LeetCode
Hash TableStringGreedySortingHeap (Priority Queue)Counting

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

Roblox100Audible100Tesla88Amazon75Ebay
63
Pinterest63
Expedia63
Agoda50
Tiktok50
Oracle50
Citadel50
DE Shaw50
Zoho38
Google38
Ibm38
Infosys38
Microsoft38
Salesforce38
Meta25
Goldman Sachs25
Bloomberg25

Related problems

Two Sum
Easy
LRU Cache
Medium
Longest Substring Without Repeating Characters
Medium
Group Anagrams
Medium
Top K Frequent Elements
Medium