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

where can we get jAVA project orientation traing in HYDERABD

0 Answers  


What is the immediate superclass of Menu?

3 Answers  


What is the difference between access specifiers and access modifiers in java?

0 Answers  


What is byte [] in java?

0 Answers  


How objects of a class are created if no constructor is defined in the class?

0 Answers  


Is integer a class?

0 Answers  


What are the types of arrays in java?

0 Answers  


real time example for deadlock,starvation,livelock

5 Answers  


class A { private int i; } class B extends A { private int i; } if I create an object of B class what will be the memory of that object.

2 Answers   Yamaha,


How can u increase the heap size in the memory?

0 Answers   Infosys,


How do singleton patterns work?

0 Answers  


What is the difference between jdk and jre?

0 Answers  


Categories