Groww SDE-1 Online Assessment 2025 | Target Dividend Compliant Windows & Maximizing Yield on Risk-Diversified Assets

Question · Posted Jun 2026

Problem 1 - Target Dividend Compliant Windows Problem Statement An investment analytics engine tracks daily positive financial returns over a period of N sequential days, represented in an integer array returns. A user wants to open an investment position across a contiguous block of days. A contiguous window of days is considered Target Compliant if and only if the total cumulative sum of returns within that window lies between L and R inclusive: L ≤ Sum(returns[i...j]) ≤ R Find the ...

The full answer & interview discussion are available to premium members.

Log in Create a free account