OpenGenus/cosmos

Add union of rectangles

Open

#1776 aperta il 17 ott 2017

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)C++ (3724 fork)batch import
Hacktoberfestadd codenew algorithm

Metriche repository

Star
 (13.462 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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..

Guida contributor