program A and B are analysed and found to have worst case
running time greater than 150NlogN and N*N respectively.
which program has the better guarantee after the running
time for the large values of N(N>10000)?
which program has the better guarantee for the running time
of small program N (N<100)?
which program will run faster on average for N=1000?


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

Post New Answer

More Java Related AllOther Interview Questions

What are the disadvantages of java sockets?

0 Answers  


What is jpa entitymanager?

0 Answers  


Are jvm’s platform independent?

0 Answers  


In a barber shop there are 2 doors. customer come in 1 door, leave in other. minimum # of chairs. barber spend his life in cutting. always barber can cut 1 customer. few chairs in the shop. if barber busy customer waits, if chairs full, customer leave. if no customer, barber sleeps. treat barber and customer as 2 threads. you can use Semaphore class with arrive and depart and count as parameter.

0 Answers   NCR,


What is reflection in java?

0 Answers  






What is web container in java?

0 Answers  


Why struts framework is used in java?

0 Answers  


What do you understand by a variable?

0 Answers  


what is transient variable?

5 Answers  


Why we use beans in java?

0 Answers  


write a code in jsp to swap two numbers?

7 Answers   Wipro,


What is meant by annotations in java?

0 Answers  


Categories