CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    1

    Thumbs up Silhouette of some buildings in a city - Need help coding this algorithm, please!

    Imagine the skyline of a city:- you are given (in integers)
    (1) the x-coordinate,
    (2) the height,
    (3) and the width
    measurements for a number of the buildings.

    You are required to give the silhouette of those buildings in that city.

    By the way, someone else has a descriptive posting in this problem domain (in the link provided below), in an entirely unrelated discussion.

    I wish that, they had posted the solution as well.

    http://www.facweb.iitkgp.ernet.in/~n...xperiences.pdf
    Last edited by 1_2_Soar; October 23rd, 2008 at 11:41 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured