How do you find the second largest element in an array of integers?


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

Post New Answer

More Data Structures Interview Questions

What are linear and non linear data structures?

0 Answers  


What is numeric array?

0 Answers  


If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?

0 Answers  


What is copyonwritearraylist?

0 Answers  


Define secondary clustering?

0 Answers  


List the applications of queues?

0 Answers  


Run time memory allocation is known as ?

0 Answers  


Provide an algorithm to reverse a linked list without using recursion.

0 Answers   Wipro,


1) Program A and B are analyzed and found to have worst- case running times no greater than 150nlog2n and n2 respectively.Answer the folloWing questions if possible.. i) which program has the better guarantee on the running time,for larger values of n(n>10000) ? ii) which program has the better guarantee on the running time,for small values of n(n<100) ? iii) which program will run faster on average for n =1000 2) wRite a program to compute the number of collisions required in a long random sequence of insertions using linear probing ,quadratic probing and double hashing 3) what is the optimal way to compute A1 A2 A3 A4 A5 A6 where the dimensions of the matrices are A1:10*20 A2 : 20 * 1 A3 : 1 * 40 A4 : 40*5 A5 : 5 * 30 A6 : 30 X 15

5 Answers   KPIT,


What is the difference between Array and LinkedList?

0 Answers  


Define a tree?

0 Answers  


Give us a program to reverse a linked list.

0 Answers   DELL, Genpact,


Categories