Company: Morgan stanley_21feb
Difficulty: medium
Maximum Light Intensity Sections Problem Description Write an algorithm for the stage management team to find the sections which have maximum light intensity but not more than the scene light intensity. A stage management company was hired by a group who are performing a play. The director of the play wants to have specific light intensity in different parts of the stage called scene lights. The director is working to a tight budget, so they don't want to add new lights. The director gave the stage management company a list of how much light is present on a particular section of the stage and gave the desired scene light intensity. The data of the current light intensity is given in an N x M matrix in which each cell represents a section of stage, and its value represents the light intensity present in that section. The light intensity of a section can be positive or negative. A negative value denotes a dark spot and a positive value denotes a bright spot. The stage management company