Given: coordinates of rectangle-> left bottom and right top
points.

the rectangles create a hole.Find the maximum area of the
hole.

eg.

4 rectangles create a hole in between. find its area.


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

Post New Answer

More Programming Languages AllOther Interview Questions

In Bioinformatics, a DNA sequence is made up of a combination of 4 characters, namely “A,C,G,T”. A subsequence of a given sequence of characters a0, a1, …an- 1, is any subset of the characters taken in order, of the form ai0 , ai1 ,…..aik-1 where 0 &#8804; i0 <i1….< ik-1 &#8804; n-1. For example in the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, we can have subsequences “A,G,T”, “A,C,A,A” and many more. A subsequence is palindromic if it is the same whether read left to right or right to left. For instance, the sequence “A,C,G,T,G,T,C,A,A,A,A,T,C,G”, has many palindromic subsequences, including “A,C,G,C,A” and “A,A,A,A” (on the other hand, the subsequence “A,C,T” is not palindromic). Devise an algorithm (using dynamic programming) that takes a sequence of characters X[0 … n-1] from the alphabet set (A,C,G,T) and returns the (length of the) longest palindromic subsequence. Implement the algorithm in an appropriate language.

1 Answers  


WAP to print all prime nos between 1 to 100 without using user input...pls reply within few hours...

1 Answers  


What is Partial class and its use?

1 Answers  


why applet is introduced?

1 Answers  


Explain what is OOPS and its concepts?

0 Answers   BirlaSoft,






what is the current salary package in India for a lamp programmer

0 Answers   HCL,


What is Negative testing?

0 Answers  


Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.

0 Answers  


.net 2005 supports how many languages?

4 Answers  


how to add Servlet-api.jar file into eclipse 3.3.2 ?

0 Answers   IBM,


How do i find out the number of parameters passed into function?

0 Answers  


4. What is the need of START 0? Instead if can we use any other numeric? If we use what will happen?

0 Answers   TCS,


Categories