Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the tasks performed during inorder traversal?

0 Answers  


What is Jagged Arrays?

0 Answers  


Can we add duplicate keys in a hashmap?

0 Answers  


Can treemap have duplicate values?

0 Answers  


In RDBMS, what is the efficient data structure used in the internal storage representation?

1 Answers  


What is the difference between an array and vector?

0 Answers  


What do you understand by doubly linked list?

0 Answers  


Write a Program for Delete an element from a doubly linked list.

0 Answers  


What are the different types of sorting in data structure?

0 Answers  


What is difference between capacity and size of arraylist?

0 Answers  


How to reverse a linked list iterative algorithm?

0 Answers  


I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.

3 Answers  


Categories