Data structure - Interview Questions and Answers for 'Compro technologies' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com
Share

Search Interview Questions


 3154 questions in repository.
 There are more than 200 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Data structure - Interview Questions and Answers for 'Compro technologies' - 3 question(s) found - Order By Newest

 Q1. Find the third last element in a linked list ?Data Structure2017-03-27 08:53:16

Ans. First Find the number of nodes in the linked list and take it as n.then find the data at n-3 element.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     linkedlist     Compro Technologies


Related Questions

 If you are given a choice to use either ArrayList and LinkedList, Which one would you use and Why ?
  What is the difference between ArrayList and LinkedList ?
 Is this a valid initialization ? Explain.

Collection<Collection> collection = new LinkedList<LinkedList>();
 In a Linked list with sorted numbers, insert a new numbers while maintaining the sort order.
  Difference between ArrayList and LinkedList ?
 Write a program for LinkedList, with method to append node and traversing the list ?
 Write method to delete Node from a LinkedList.
  Is it legal to initialize List like this ?
  Which of the following syntax are correct ?a. LinkedList<Integer> l=new LinkedList<int>();b. List<Integer> l=new LinkedList<int>();c. LinkedList<Integer> l=new LinkedList<Integer>();d. List<Integer> l = new LinkedList<Integer>();


 Q2. Write a Program to reverse a Linked List ?Data Structure2016-12-13 14:58:09

 This question was recently asked at 'Myntra,Compro Technologies'.This question is still unanswered. Can you please provide an answer.


 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve          Myntra  Compro Technologies


Related Questions

  Difference between == and .equals() ?
  Why is String immutable in Java ?
  Explain the scenerios to choose between String , StringBuilder and StringBuffer ?

or

What is the difference between String , StringBuilder and StringBuffer ?
  What are the difference between composition and inheritance in Java?
  Does garbage collection guarantee that a program will not run out of memory?
  What are different ways to create String Object? Explain.
  What do you mean by "Java is a statically typed language" ?
  Why do we need Inner classes ? Cant we just work with outer classes wherever we implement Inner classes ?
  Why Char array is preferred over String for storing password?
  What are different ways of object creation in Java ?


 Q3. Write a Program to merge two sorted arrays ?Data Structure2017-03-27 08:46:57

Ans. We can merge two sorted array by using quick sort algorithm

 Help us improve. Please let us know the company, where you were asked this question :   

   Like      Discuss      Correct / Improve     arrays  merge sorted arrays     Compro Technologies  ECI Telecom


Related Questions

  What are the disadvantages of using arrays ?
  What are the Disadvantages of using Collection Classes over Arrays ?
 Difference between Arrays and ArrayList ?
 Can we declare an array without assigning the size of an array?
 If arrays cannot be resized , Why is this code valid

String[] strArray = new String[2];
strArray = new String[5];
 Why doesn't this code give compile time error when we are clearly trying to add an integer element to an array of Strings

Object[] strArray = new String[2];
strArray[0] = 5;
  What is the advantage of using arrays over variables ?
  Advantage of Collection classes over Arrays ?
  What is the difference between int[] x; and int x[]; ?




Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner



comments powered by Disqus
 

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked:
         

X Close this

X Close this

Help Us Improve.
Please share your
interview experience.

Company Name:   


Questions Asked: