Brightest Position on Street
A street is represented by an infinite number line. You are given a 2D integer array lights, where lights[i] = [positioni, rangei] represents a light at positioni that illuminates the closed int...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
