|
Bag of Carpets posted:Thanks for the info. I've done a bit more research and have found a lot of jobs (at least in Canada) ask for Java / J2EE rather than RoR... Although RoR is less bulky for developing web apps, perhaps having a base in J2EE is a good (transferable?) skillset to have for an entry level position? Am I missing the mark with this idea? I'd try and get some level of familiarity with two or three major frameworks - Rails, Django, J2EE or some PHP thing - and see which one you like the best. Early in your career it's better to have broad rather than deep knowledge, and you don't want to get locked into a particular technology.
|
# ¿ Mar 17, 2011 17:09 |
|
|
# ¿ May 3, 2024 08:38 |
|
shrughes posted:And add the areas of the three-way intersections and subtract the areas of the four-way intersections and ... The best I can come up with is to compare every pair of rectangles, and if they overlap reduce them into components like so: Then dump the components back into the pile, and repeat until there are no overlaps, then sum up the areas of the rectangles.
|
# ¿ Sep 13, 2011 17:02 |
|
shrughes posted:Now do it in O(n log n) time. Maybe store the vertices in a 2-d array, with a pointer from each vertex to a rectangle structure? That way overlaps can be easily detected. This may also be completely insane.
|
# ¿ Sep 13, 2011 17:55 |