Write an algorithm program in java for the following question..
In a VLSI design techniques,they used rectangles to design circuits.
EVery rectangle is to be placed according to x,y coordinates.
Check whether or not two rectangles overlap each other.
Here overlapping of rectangles is acceptable, if
1) one rectangle intersect with other.
2) one rectangle fully covers other.
The time of algorithm should not exceed o(n logn).


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

what is the Arraylist limit (maximum) by default ?

13 Answers   Fidelity, PlanetSoft, Wipro,


Difference between JDK, JRE, JVM

16 Answers   Deloitte, HCL, Mind Tree, Oracle, Reliance, TCS, ThinkBox,


What are synchronized methods ?

0 Answers  


How many bytes is a unicode character?

0 Answers  


What modifiers may be used with a top-level class?

0 Answers  






What is r * in math?

0 Answers  


What are facelets templates?

0 Answers  


If a variable is declared as private, where may the variable be accessed?

0 Answers  


What do you understand by final value?

0 Answers  


How does a for loop work?

0 Answers  


How to add two numbers with out using Arithmetic , union operators in java....? But we can use bitwise operators... but how...?

4 Answers   CTS, Satyam,


Explain the difference between call by refrence and call by value?

0 Answers  


Categories