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

Can a class be private?

0 Answers  


How to create a fecelet view?

0 Answers  


What is the difference between I ++ and ++ I in java?

0 Answers  


what happens when a thread cannot acquire a lock on an object? : Java thread

0 Answers  


if a java file without any source code is valid java file?

3 Answers   SparkTG,






What will be the initial value of an object reference which is defined as an instance variable?

0 Answers  


Explain OOPs concept.

0 Answers   Syntel, Visa,


What is super constructor?

0 Answers  


Are floats faster than doubles?

0 Answers  


What is a byte array?

0 Answers  


What is unicode?

1 Answers  


Why do we use return statement?

0 Answers  


Categories