problem: The Skyline Problem (download)
Description:[Ad hoc, Brute force]
1. First store height in H[10000] array according to the low:
2. Always lower limit =1 & let upper limit=0;
3. Each time we take input(Left,Height,Right co-ordinate)
4. From left to right , if H[i]>height, then H[i]=height
5. End of taking Input, print the H[N], According to the description of output
Description:[Ad hoc, Brute force]
1. First store height in H[10000] array according to the low:
2. Always lower limit =1 & let upper limit=0;
3. Each time we take input(Left,Height,Right co-ordinate)
4. From left to right , if H[i]>height, then H[i]=height
5. End of taking Input, print the H[N], According to the description of output
