Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged linked-list
0
0 votes
1
1 answer
1.1k
1.1k views
What's wrong with the given implementation in the linked list to append node?
Why the following code is not giving desired results? The code simple push & appends the nodes in the linked list.#include <stdio.h #include <stdlib.h struct Node{ int it...
Aghori
1.1k
views
asked
Aug 18, 2017
Programming in C
data-structures
linked-list
+
–
1
1 vote
3
3 answers
1.1k
1.1k views
self doubt
we know that pointer implementation is not possible in java and dynamic memory allocation is also not possible.Then how we can implement linked list in java?
Ravi prakash pandey
1.1k
views
asked
Jul 9, 2017
Java
linked-list
+
–
0
0 votes
1
answers
1 answer
4.4k
4.4k views
Self Doubt in Doubly Linked List
Insertion of a node into a doubly linked list requires how many changes to various Next and Previous Pointer?A. No ChangeB. 1 Next , 1 PreviousC. 2 Next , 2 PreviousD. 3 ...
Arnab Bhadra
4.4k
views
asked
Jun 28, 2017
Data Structures
linked-list
data-structures
+
–
3
3 votes
4
4 answers
59.4k
59.4k views
Linked List implementation of Queue
Which of the following is true about linked list implementation of queue?(a) In push operation, if new nodes are inserted at the beginning of linked list, then in pop ope...
Shubhanshu
59.4k
views
asked
Jun 10, 2017
Programming in C
linked-list
data-structures
queue
+
–
0
0 votes
2
2 answers
4.4k
4.4k views
Self Doubt in linked list
Which of the following operations is performed more efficiently by doubly linked list than by singly linked list?(a) Deleting a node whose location in given(b) Searching ...
Shubhanshu
4.4k
views
asked
Jun 6, 2017
Data Structures
data-structures
linked-list
+
–
1
1 vote
1
1 answer
534
534 views
Test by Bikram | Algorithms | Test 2 | Question: 9
Linked Lists are not suitable for :Binary SearchPolynomial ManipulationInsertionRadix Sort
Bikram
534
views
asked
May 26, 2017
Algorithms
tbb-algorithms-2
data-structures
linked-list
algorithms
+
–
8
8 votes
4
4 answers
16.5k
16.5k views
ISRO CSE 2017 | Question: 16
Given two statementsInsertion of an element should be done at the last node of the circular listDeletion of an element should be done at the last node of the circular lis...
sh!va
16.5k
views
asked
May 7, 2017
Data Structures
isro2017
data-structures
linked-list
bad-question
+
–
4
4 votes
4
4 answers
19.7k
19.7k views
ISRO CSE 2017 | Question: 53
In a doubly linked list the number of pointers affected for an insertion operation will be401Depends on the nodes of doubly linked list
sh!va
19.7k
views
asked
May 7, 2017
Data Structures
isro2017
data-structures
linked-list
bad-question
+
–
4
4 votes
1
answers
1 answer
2.4k
2.4k views
Problem with Linked List Code
I was trying to implement the Linked List code in C. It compiles fine but doesn't give any output. What seems to be the error? I think I messed up at passing pointer refe...
RahulVerma
2.4k
views
asked
Apr 26, 2017
Programming in C
algorithms
linked-list
data-structures
programming-in-c
+
–
129
129 votes
18
answers
18 answers
45.1k
45.1k views
GATE CSE 2017 | Set 1 | Question: 08
Consider the C code fragment given below.typedef struct node { int data; node* next; } node; void join(node* m, node* n) { node* p = n; while(p->next != NULL) { p = p->ne...
khushtak
45.1k
views
asked
Feb 14, 2017
Data Structures
gatecse-2017-set1
data-structures
linked-list
normal
+
–
0
0 votes
1
answers
1 answer
589
589 views
Test by Bikram | Mock GATE | Test 3 | Question: 19
A linked list stores the numbers in sorted order.What will be the contents of a list after the following insert & delete operations are performed? insert(4) insert(2) ins...
Bikram
589
views
asked
Feb 9, 2017
GATE
tbb-mockgate-3
data-structures
linked-list
+
–
0
0 votes
4
4 answers
3.0k
3.0k views
What is the output || Single linked list ?
struct node{ int num; struct node *next; } void print(struct node *ptr) { if(ptr) { printf("%d",ptr->data); do{ printf("%d",ptr->data); } while(ptr->next); } }What is the...
Kapil
3.0k
views
asked
Feb 3, 2017
Data Structures
linked-list
data-structures
programming-in-c
output
+
–
0
0 votes
1
1 answer
682
682 views
MadeEasy Subject Test: Programming & DS - Linked Lists
vaishali jhalani
682
views
asked
Jan 30, 2017
Data Structures
made-easy-test-series
data-structures
linked-list
time-complexity
+
–
1
1 vote
1
answers
1 answer
1.0k
1.0k views
MadeEasy Subject Test: Programming & DS - Linked Lists
jatinmittal199510
1.0k
views
asked
Jan 21, 2017
Data Structures
made-easy-test-series
linked-list
data-structures
+
–
0
0 votes
0
0 answers
585
585 views
MadeEasy Subject Test: Programming & DS - Binary Search Tree
vaishali jhalani
585
views
asked
Jan 20, 2017
Data Structures
made-easy-test-series
data-structures
linked-list
time-complexity
+
–
6
6 votes
2
answers
2 answers
4.9k
4.9k views
DS-CLL
Time complexity to insert a node in the end of circular linked list, if the pointer to the 1st node is given and number of nodes in list is NisA)O(1)B)O(log N)C)O(N)D)O(N...
srestha
4.9k
views
asked
Jan 12, 2017
Data Structures
data-structures
time-complexity
algorithms
linked-list
+
–
3
3 votes
1
1 answer
4.9k
4.9k views
Linked List
In a doubly linked list organization, insertion of a record in end involves modification of ____ for existing list.one pointertwo pointermultiple pointerno pointer
srestha
4.9k
views
asked
Jan 4, 2017
Data Structures
linked-list
+
–
1
1 vote
1
answers
1 answer
1.9k
1.9k views
Targate
The Answer given is A) I think the naswer should be B) as we have both the prev pointer and the next pointer available , it will take constant time to update the adjacent...
Harsh181996
1.9k
views
asked
Jan 3, 2017
Data Structures
linked-list
data-structures
time-complexity
+
–
39
39 votes
3
answers
3 answers
6.5k
6.5k views
GATE CSE 1999 | Question: 11b
Write a constant time algorithm to insert a node with data $D$ just before the node with address $p$ of a singly linked list.
Arjun
6.5k
views
asked
Dec 17, 2016
Data Structures
gate1999
data-structures
linked-list
descriptive
+
–
4
4 votes
1
1 answer
1.6k
1.6k views
GATE CSE 1989 | Question: 4-xi
Express the following list in terms of a linked list structure suitable for internal representation.$(((ab)c)d((e)))$
Misbah Ghaya
1.6k
views
asked
Nov 30, 2016
Data Structures
gate1989
descriptive
data-structures
linked-list
unsolved
+
–
3
3 votes
3
3 answers
1.6k
1.6k views
Test by Bikram | Data Structures | Test 2 | Question: 28
A circular linked list is used to represents a queue. A single variable L is used to access the queue. To which node should L point such that both the operation enqueue a...
Bikram
1.6k
views
asked
Nov 26, 2016
Programming in C
tbb-ds-2
data-structures
queue
linked-list
+
–
1
1 vote
1
answers
1 answer
983
983 views
Test by Bikram | Data Structures | Test 2 | Question: 11
The concatenation of $2$ lists is to be performed in $O(1)$ time. Which of the following implementations should be used?array implementation of listdoubly linked listsing...
Bikram
983
views
asked
Nov 26, 2016
Programming in C
tbb-ds-2
data-structures
linked-list
algorithm-design
+
–
3
3 votes
2
answers
2 answers
2.6k
2.6k views
Test by Bikram | Data Structures | Test 2 | Question: 7
You are given a linked list, L, and another linked list, P, containing integers, sorted in ascending order. The operation print_lots(L,P) will print the elements in L tha...
Bikram
2.6k
views
asked
Nov 26, 2016
Programming in C
tbb-ds-2
linked-list
algorithm-design
time-complexity
data-structures
+
–
1
1 vote
1
answers
1 answer
803
803 views
Linked List
thor
803
views
asked
Nov 25, 2016
Data Structures
linked-list
+
–
3
3 votes
1
answers
1 answer
2.7k
2.7k views
Linked list problem
thor
2.7k
views
asked
Nov 18, 2016
Data Structures
linked-list
data-structures
+
–
36
36 votes
3
answers
3 answers
6.3k
6.3k views
GATE CSE 1987 | Question: 6a
A list of $n$ elements is commonly written as a sequence of $n$ elements enclosed in a pair of square brackets. For example. $[10, 20, 30]$ is a list of three elements an...
Misbah Ghaya
6.3k
views
asked
Nov 14, 2016
Data Structures
gate1987
data-structures
linked-list
descriptive
+
–
44
44 votes
5
answers
5 answers
25.4k
25.4k views
GATE CSE 1987 | Question: 1-xv
In a circular linked list organization, insertion of a record involves modification ofOne pointer.Two pointers.Multiple pointers.No pointer.
Misbah Ghaya
25.4k
views
asked
Nov 8, 2016
Data Structures
gate1987
data-structures
linked-list
+
–
0
0 votes
0
0 answers
762
762 views
Ds+linked list
I am not getting how unsigned is used and how is it working???
Rahul Jain25
762
views
asked
Nov 5, 2016
Programming in C
linked-list
algorithms
programming
data-structures
+
–
0
0 votes
0
0 answers
610
610 views
Kerala PSC AP Exam
Let P be a singly linked list. Let Q be the pointer to an intermediate node X in the list. What is the worst case time complexity of the best known algorithm to delete no...
Sankaranarayanan P.N
610
views
asked
Oct 27, 2016
Data Structures
linked-list
+
–
6
6 votes
1
1 answer
3.3k
3.3k views
GATE Overflow | Programming | Test 1 | Question: 30
Consider the following incomplete C function for reversing a singly linked list.node* reverse(node* trav){ if(trav->next) __________________ else { head - next = null; he...
Arjun
3.3k
views
asked
Oct 18, 2016
Programming in C
go-programming-1
programming
programming-in-c
linked-list
two-marks
+
–
Page:
« prev
1
...
5
6
7
8
9
10
11
12
next »