Skyline Problem

Publié le: 14 janvier 2016
sur la chaîne: Tushar Roy - Coding Made Simple
204,768
2.9k

  / tusharroy25  
https://github.com/mission-peace/inte...
https://github.com/mission-peace/inte...
https://www.educative.io/page/1100000...
You are given a set of n rectangles in no particular order. They have varying widths and heights, but their bottom edges are collinear, so that they look like buildings on a skyline. For each rectangle, you’re given the x position of the left edge, the x position of the right edge, and the height. Your task is to draw an outline around the set of rectangles so that you can see what the skyline would look like when silhouetted at night.


Sur cette page du site, vous pouvez voir la vidéo en ligne Skyline Problem durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Tushar Roy - Coding Made Simple 14 janvier 2016, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 204,768 fois et il a aimé 2.9 mille téléspectateurs. Bon visionnage!