companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Longest Repeating Character Replacement

asked by 22 companies

Solve on LeetCode
Hash TableStringSliding Window

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

Cred100Uipath100Pocket Gems100Bloomberg88Zepto75Docusign75Microsoft75Publicis Sapient75Servicenow75Yahoo75Payu63Amazon63Meta50Bytedance50Flipkart50Goldman Sachs50Google50Adobe50Apple38Uber38Yandex38Tiktok25

Related problems

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