OpenGenus/cosmos

Add union of rectangles

Open

#1 776 ouverte le 17 oct. 2017

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)C++ (3 724 forks)batch import
Hacktoberfestadd codenew algorithm

Métriques du dépôt

Stars
 (13 462 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur