Given an array height[] which represents the height of N people standing in a line. A person i can see a person j if height[j]… Read More
The post Maximum people a person can see while standing in a line in both direction appeared first on GeeksforGeeks.