Chain of overlapping rectangles

Cancelled Posted Sep 4, 2012 Paid on delivery
Cancelled Paid on delivery

I have a list of rectangles. I need to find a list of lists in which all the overlapping rectangles are returned. For example, in a list of 7 rectangles, if 4 rectangles are overlapped and rest are separate then a list of lists should look like this:

[0]: r1, r2, r3, r4

[1]: r5

[2]: r6

[3]: r7

Again, it will create a chain. For example, if r1, and r2 are hitting and r2 and r3 are hitting and r1 and r4 are hitting then it will give the list[0].

Please concentrate again, it is only returning the grouped list of list and the returned list's count is not equal to the supplied list count.

I will only except elegant solution. That is, you should not use arrays to store intersection values. And it should be done with recursion.

It should be done in C#.

Thanks

C# Programming Game Consoles Game Design Script Install Shell Script Software Architecture Windows Desktop

Project ID: #2773869

About the project

9 proposals Remote project Active Sep 6, 2012

9 freelancers are bidding on average $57 for this job

vano101

See private message.

$12.95 USD in 1 day
(507 Reviews)
6.6
schungur

See private message.

$100.3 USD in 1 day
(12 Reviews)
4.1
mfran

See private message.

$100.3 USD in 1 day
(3 Reviews)
4.0
aravindsr

See private message.

$100.3 USD in 1 day
(5 Reviews)
3.5
XaCaHaa

See private message.

$30.6 USD in 1 day
(13 Reviews)
2.7
sergevalsse

See private message.

$20.4 USD in 1 day
(2 Reviews)
2.3
mutichip

See private message.

$42.5 USD in 1 day
(0 Reviews)
0.0
kjalowiecki

See private message.

$10 USD in 1 day
(0 Reviews)
0.0
yeste

See private message.

$100 USD in 1 day
(1 Review)
0.0