companyhub
DashboardCompaniesProblemsSheetsBookmarksRevisionsAnalyticsLeaderboardCompare
Settings
Sign in
DashboardCompaniesProblemsSheetsBookmarks
Medium

Boats to Save People

61.8% acceptance · asked by 11 companies

Solve on LeetCode
ArrayTwo PointersGreedySorting

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

Uipath100Ibm75Sigmoid75Flipkart50Atlassian

Related problems

Two Sum
Easy
Merge Intervals
Medium
Best Time to Buy and Sell Stock
Easy
Group Anagrams
Medium
Number of Islands
Medium
38
Snowflake38
Meta38
Amazon38
Bloomberg25
Google25
Microsoft25