Загрузка страницы

Skyline Problem

https://www.facebook.com/tusharroy25
https://github.com/mission-peace/interview/blob/master/src/com/interview/geometry/SkylineDrawing.java
https://github.com/mission-peace/interview/blob/master/python/geometry/skylinedrawing.py
https://www.educative.io/page/11000001/70001
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.

Видео Skyline Problem канала Tushar Roy - Coding Made Simple
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 января 2016 г. 12:20:40
00:22:54
Яндекс.Метрика