โ† Snapdeal questions

Find maximum consecutive days room is illuminated by candles

Filed under Snapdeal

The question

Given an integer array representing candle sizes that reduce by 1 unit daily, and a room illuminated by x candles at a time, find the maximum number of days the room remains without total darkness.

No write-up yet. Related questions below have one.

Related Snapdeal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.