OpenGenus/cosmos

Add union of rectangles

Open

#1,776 opened on 2017年10月17日

GitHub で見る
 (1 comment) (1 reaction) (0 assignees)C++ (3,724 forks)batch import
Hacktoberfestadd codenew algorithm

Repository metrics

Stars
 (13,462 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

Given rectangles with heights and start and end points, find their union. Will add a sweep algorithm based approach in cpp by today evening.

PS they all share one axis i.e stacked along the x axis for e.g..

コントリビューターガイド