Skip to content

Commit e0ef7f7

Browse files
Redressed the problem statement for clarity
1 parent c4b629a commit e0ef7f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/0881-boats-to-save-people.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
2-
Given an array people[i] is the weight of the ith person,
3-
and an infinite number of boats where each boat can carry a maximum weight of limit.
2+
Given an array of people's weight, people[i] is the weight of the ith person,
3+
and there is an infinite number of boats where each boat can carry a maximum weight of limit.
44
Each boat carries at most two people at the same time, provided the sum of the weight of those people is at most limit.
55
Return minimum number of boats to carry every given person.
66

0 commit comments

Comments
 (0)