What is a linked list?
Answers were Sorted based on User's Feedback
Answer / e-mail
Link list is a collection of either diffrent diffrent data
or same type of data which is store in a node,basically
node contain non premitive data witch is divided into two
parts one part contain data and another part contain
address of next node..
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / purba phalguni mishra
" Linked List is a collection of data elements consisting
of nodes", basically two parts:-
1. INFO part- contains the information/value of data items.
2.LINK part- keeps the address of the adjacent node,i.e,
co-relating notes.
The basic application,i.e, the linear arrangement of data
items gives the fundamental idea of array.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / swati sinha
Linked list is a datastructure which consist of many nodes
linked wit each other.Each node is divided in to
2parts.one has the data and the other has address which
points to the next node.the last node has null pointer.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / aditya
A Linked List is the collection of leniar data elements. In
linked list there will be nodes which has 2 parts. They are
data part and link part. The data part consists of the th
data element and the link part consists of the address of
the next node. In linked list the link part of the last
node will be NULL. The different types of linked list are
1) Linear Linked List
2) Double Linked List
3) Circular Linked List
4) Doule Circular Linked List
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rashid
A linked list is a linear collection of self referential
structs. LL consists of nodes connected by pointer links.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / abu
A linked list is liner collection of data elements that are
called nodes. the linear order is maintained by using
pointer.a link list can be either liner or doubly or circular.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venu
link list is a list that is used to sort by the names
Is This Answer Correct ? | 1 Yes | 8 No |
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
What is object and example?
What is polymorphism oop?
how to get the oracle certification? send me the answer
i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????
#include <stdio.h> #include <alloc.h> #include <stdlib.h> #include <conio.h> void insert(struct btreenode **, int); void inorder(struct btreenode *); struct btreenode { struct btreenode *leftchild; struct btreenode *rightchild; int data; }; main() { struct btreenode *bt; bt=(struct btreenode *)NULL; int req,i=1,num; clrscr(); printf("Enter number of nodes"); scanf("%d",&req); while(i<=req) { printf("Enter element"); scanf("%d",&num); insert(&bt,num); i++; } inorder(bt); } void insert(struct btreenode **sr, int num) { if(*sr==NULL) { *sr=(struct btreenode *)malloc (sizeof(struct btreenode)); (*sr)->leftchild=(struct btreenode *)NULL; (*sr)->rightchild=(struct btreenode *)NULL; (*sr)->data=num; return; } else { if(num < (*sr)->data) insert(&(*sr)->leftchild,num); else insert(&(*sr)->rightchild,num); } return; } void inorder(struct btreenode *sr) { if(sr!=(struct btreenode *)NULL) { inorder(sr->leftchild); printf("\n %d",sr->data); inorder(sr->rightchild); } else return; } please Modify the given program and add two methods for post order and pre order traversals.
What is encapsulation with example?
What is the main difference between C++ and Java
Can you name some types of inheritance?
what are the ways in which a constructors can be called?
which structured data type is not used in c++? 1.union 2.structure 3.string 4.boolean
what is the realstic modeling?