companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Most Stones Removed with Same Row or Column

62.9% acceptance · asked by 10 companies

Solve on LeetCode
Hash TableDepth-First SearchUnion-FindGraph Theory

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

Phonepe88Tekion88Medianet75Snowflake50Amazon
38
Snapchat38
Bloomberg25
Google25
Microsoft25
Meta13

Related problems

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