Min Work Sessions

Given task durations and a session time limit, find the minimum number of sessions needed to complete all tasks. Each session's total duration cannot exceed the session time limit.

Examples
Input: [[1,2,3],3]
Output: 2
Hints

Min Work Sessions

Given task durations and a session time limit, find the minimum number of sessions needed to complete all tasks. Each session's total duration cannot exceed the session time limit.