?????????????????? ?????????????????? ??????????????? (Singly Linked List) ???????????? ???????
????????? ?????? ???????????????????????? ??????????????? ?????? ???????????????????????????????????? ????????? ????????? ??????, ?????? ?????????????????? ?????????????????? ??????????????? (Singly linked list) ?????? ???????????? ?????? ??????????????? ???????????? ??????????????????????????? ????????? ?????? ?????? ????????? ??????????????? ?????? ??????????????? ?????? ???????????? ?????? ?????? ???????????? ????????? ?????? ?????? ????????? ?????? ??????????????? ???????????? ???????????? ????????? ??????????????? ???????????? ?????? ?????? ???????????? ???????????????????????? ?????? ???????????? ???????????? ?????????
?????????????????? ??????????????? ???????????? ??????? - What is Linked List in Hindi?
Linked List ?????? ???????????? ??????????????????????????? ?????? ?????????????????? ???????????? ?????? ??????????????????????????? ??????????????? ?????? ????????? ????????? ???????????? ?????????, ?????? ?????? ????????? ???????????? ????????? ?????? ????????? ???????????? ????????? ?????? ???????????? ?????? ????????? ??????????????? ???????????? ??????, ??????????????? ???????????? ?????? ???????????????????????? ??????????????? ?????? ??????????????? ?????? ??????????????? ???????????? ???????????? ?????? ???????????? ?????????
?????????????????? ?????????????????? ??????????????? ???????????? ??????? - What is a singly linked list in Hindi?
?????????????????? ?????????????????? ??????????????? ????????? ?????? ?????? ????????????????????? (???????????? ?????? "?????????" ???????????? ?????????) ?????? ????????? ?????? ??????????????? ???????????? ?????????: ?????? ???????????? ?????? ?????? ????????????????????? ?????? ?????????????????? ???????????? ????????? ?????? ????????? ??????????????? ????????? ???????????? ???????????? ?????? ?????? ???????????? ?????? ?????? ????????? ?????? ????????? ????????????, ??????????????? ?????? ????????? ?????? ????????? ???????????? ????????????

?????????????????? ?????????????????? ??????????????? ?????? ????????? ???????????????:
- ???????????????????????? ???????????? - ???????????? ??????????????? ?????????????????????????????? ?????? ??????????????? ?????? ??????????????? ?????? ????????? ?????? ????????? ?????? ?????? ???????????? ?????????
- ????????????????????? ?????? ?????????????????? ???????????? - ????????? ????????? ?????? ???????????? ?????? ?????? ????????? ?????????????????? ?????? ??????????????? ???????????? ???????????? ?????????
- ??????????????? ?????? ???????????????????????? - ?????? ????????? ???????????? ????????? ?????? ??????????????? ???????????? ??????, ??????????????? ??????????????? ????????? ????????? ???????????? ???????????????
?????????????????? ?????????????????? ??????????????? ???????????? ????????? ???????????? ??????? - How does a singly linked list work in Hindi?
????????? ?????? ???????????????????????? ????????? ???????????? 5, 10, ?????? 15 ???????????? ?????? ?????? ???????????? ?????? ????????? ??????????????? ???????????? ????????? ?????? ???????????? 5 ???????????? ?????? ???????????? ?????????????????? ??????????????? ????????? (10) ?????? ????????? ?????????????????? ??????????????? ????????? 10 ?????? ???????????? ?????????????????? ??????????????? ????????? (15) ?????? ???????????? ??????????????? ????????? 15 ???????????? ?????? ???????????? ?????????????????? NULL ?????????????????????, ???????????? ????????? ????????? ????????? ???????????? ?????????
??????????????? ?????????????????? ??????????????? ?????? ????????? - Advantages of Singly Linked List in Hindi
- ?????????????????? ?????? ?????? ????????? ????????????????????? ?????? ????????? ????????? ???????????? ?????? pointer ???????????? ?????????
- ???????????????????????? ???????????? ???????????? ?????? ?????????????????? ????????? ??????????????? ?????? ??????????????? ?????? ???????????? ?????? ???????????? ?????????
- ??????????????????????????? ?????? ?????????????????? ?????? ??????????????? ???????????? ????????? ???????????? ????????? ?????? ???????????? ???????????? ?????? ??????????????? ?????? ??????????????? ???????????? ??????????????????
- ???????????? ?????????????????? ?????? ??????-??????????????????????????? ???????????? ???????????? ???????????? ?????? ????????????????????? ?????????????????? ?????? ????????? ?????? ??????????????? ?????? ????????????-???????????? ???????????? ????????????
- ??????????????? ?????????????????????????????? ???????????????????????? ???????????????????????? ?????? ????????? ???????????? ??????, ??????????????? ????????????????????????????????? ????????? ???????????? ?????????
?????????????????? ?????????????????? ??????????????? ?????? ?????????????????? - Disadvantages of Singly Linked List in Hindi
- ???????????? ?????? ????????? ?????? ????????????????????? ?????? ????????? ????????? ?????? ???????????????????????? ???????????? ??????????????? ??????, ??????????????? ?????????????????? ???????????? ???????????? ?????? ???????????? ?????????
- ??????????????? ????????? ?????? ????????? ???????????? ???????????? ?????? ?????????????????? ??????????????????????????? ???????????? ???????????????
- ??????????????? ?????????????????? ???????????? ????????????, ??????????????? ???????????? ?????? ????????????????????? ?????? ???????????????????????? ????????????????????? ?????? ?????????????????? ???????????? ?????? ???????????????
- ??????????????????????????? ?????? ????????? ????????? ????????? O(n) ???????????? ??????, ?????? ???????????? ???????????? ?????? ???????????? ????????? ???????????? ?????????
- ???????????? ??????????????? ???????????? ?????? ?????????????????? ???????????????????????????????????? ?????? ???????????? ??????, ??????????????? ?????????????????????????????? ???????????????????????? ???????????? ?????????
- ?????????????????? ?????? ????????? ??????????????????????????? ?????????????????? ??????????????? ?????? ???????????????????????????????????? ??????????????? ?????? ???????????? ?????? ???????????? ?????????
???????????? ?????????????????? ?????????????????? ??????????????? ?????? ???????????????????????? ???????????? ??????? - Where is a singly linked list used in Hindi?
- ???????????????????????? ???????????????????????? ???????????? ?????????????????? ?????????, ???????????? ?????? ??????????????? ????????????????????? ?????? ????????????????????? ?????? ??????????????? ???????????? ?????????
- ????????????????????? ?????????????????? ?????? ??????????????????????????? ????????????
- ?????????????????? ??????????????????????????? ?????????????????? ????????????
?????????????????? ?????????????????? ??????????????? ?????? ????????? ?????????????????? (C ???????????? ?????????) - Code example of singly linked list (in C language) in Hindi
Input: C
#include
struct Node {
int data;
struct Node* next;
};
void printList(struct Node* n) {
while (n!= NULL) {
printf("%d -> ", n->data);
n = n->next;
}
printf("NULL\n");
}
int main() {
struct Node* head = NULL;
struct Node* second = NULL;
struct Node* third = NULL;
head = (struct Node*)malloc(sizeof(struct Node));
second = (struct Node*)malloc(sizeof(struct Node));
third = (struct Node*)malloc(sizeof(struct Node));
head->data = 10;
head->next = second;
second->data = 20;
second->next = third;
third->data = 30;
third->next = NULL;
printList(head);
return 0;
}
Output:
Plain 10 -> 20 -> 30 -> NULL
???????????????????????? - Conclusion
?????????????????? ?????????????????? ??????????????? ?????? ?????????, ???????????? ?????? ???????????? ?????????????????? ???????????? ??????????????????????????? ?????? ?????? ???????????????????????????????????? ?????? ???????????? ??????????????? ???????????? ????????? ????????? ????????? ?????????????????????????????? ???????????? ??????????????? ?????? ?????? ????????? ??????????????? ?????? ??????????????? ?????? ??????????????? ??????????????? ????????? ???????????? ????????? ?????? ????????? ???????????? ?????? ???????????? ???????????? ??????????????? ?????? ??????????????? ?????? ???????????? ?????????