companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Easy

Can Place Flowers

29.1% acceptance · asked by 16 companies

Solve on LeetCode
ArrayGreedy

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

Htc100Soti100Linkedin75Nutanix75Nike75Yandex50Atlassian50Meta50Cisco38Airbnb38Microsoft38Bloomberg38Amazon38Google38Apple25Oracle25

Related problems

Two Sum
Easy
Merge Intervals
Medium
Best Time to Buy and Sell Stock
Easy
Group Anagrams
Medium
Number of Islands
Medium