Problem: Design a Greedy algorithm to allocate limited research grants to university departments where each department has varying project timelines, success probabilities, and potential discoveries. Maximize total research output while minimizing financial risk.