- http://dolginov.net/puzzles.html - Puzzles
- http://www.cs.ucf.edu/~sarahb/COP3503/Lectures/ - Lectures / Computer Science II - Fall 2010 - Course Website / University of Central Florida
- http://www.cs.cmu.edu/~avrim/451f08/lectures/ - Lectures from Carnegie Mellon’s School of Computer Science (SCS)
- http://www.topcoder.com/tc?module=Static&d1=tutorials&d2=alg_index - Algorithm Tutorials from TopCoder
Algorithms Busters
poniedziałek, 20 czerwca 2011
Useful Links
The Skyline Problem
our first challenge. So to make a long story short let's start with the problem description."You are to design a program to assist an architect in drawing the skyline of a city given the locations of the buildings in the city. To make the problem tractable, all buildings are rectangular in shape and they share a common bottom. A building is specified by a triple (left and right coordinate and the height)...In the diagram above buildings are shown on the left and the skyline is shown on the right..."
To sum up, you are given a list of the buildings and your task is to find the skyline (so that you can tell what is the highest point for every location in the city). What is more, the performance of your solution should be O(n log n).
Subskrybuj:
Posty (Atom)
