⌘K
Flycodx

Priya's Angel Investor Pitching Strategy

Priya's Angel Investor Pitching Strategy

HardArrays0% accepted

Priya founded a Delhi startup and must pitch to multiple angel investors. Each investor has a specific time window and interest level score. Travel between meetings takes 30 minutes. Maximize the total interest score from non-overlapping meetings.

Approach

Given investor meetings [[start, end, interest_score]], find the maximum total interest from non-overlapping pitches (with 30-minute travel buffer).

Input

[[9,10,20],[9,30,50],[30,31,30],[31,32,40]]

Output

120
solution.py
Loading editor...
Test 1
Test 2
Test 3

Press Run to test your custom input, or Submit to judge against all test cases.

Sign in to continue

Create a free account to run code, submit solutions and track progress.

  • Free forever — no credit card
  • 10+ languages with live execution
  • Points, streaks & leaderboards
Auto Save OnLn 1, Col 1Spaces: 4UTF-8LFPython 3