Name an advantage of array over linked list?
Answer Posted / atul kumar gupta
1-:array is working the concept of sequential.but linked
list is not provid the go directaly access the any alement.
2-:linked list are very complicated comparing the array
becouse the consist the two part which frst part is contain
the item and second is contain address of next node,so that
these are complicated compare then array.
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
what type of question are asked in thoughtworks pair programming round ?
What is inheritance in oop?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is data binding in oops?
What does enum stand for?
What is stream in oop?
What are the types of abstraction?
What is a class oop?
What is overriding vs overloading?
What is the full form of oops?
what are the realtime excercises in C++?
What polymorphism means?
Explain the advantages of inheritance.
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).