Login
Register
@
Dark Mode
Profile
Edit my Profile
Messages
My favorites
Register
Activity
Q&A
Questions
Unanswered
Tags
Subjects
Users
Ask
Previous Years
Blogs
New Blog
Exams
Dark Mode
Recent questions tagged linked-list
0
votes
2
answers
241
MadeEasy Test Series: Programming & DS - Linked Lists
Delete the duplicate node Delete the alternate duplicate node Delete the adjacent node None of these
Sandeep Singh
asked
in
DS
Dec 27, 2015
by
Sandeep Singh
599
views
data-structures
linked-list
made-easy-test-series
2
votes
3
answers
242
link list
nitish
asked
in
DS
Dec 27, 2015
by
nitish
851
views
linked-list
1
vote
1
answer
243
Counting number of pointer modification
In circular linked list, insertion of a node at the end involves pointer modification: (A) one (B) two (C) three (D) none
shikharV
asked
in
DS
Nov 15, 2015
by
shikharV
1.2k
views
programming-in-c
pointers
linked-list
2
votes
5
answers
244
ISRO2008-76
The minimum number of fields with each node of doubly linked list is 1 2 3 4
ajit
asked
in
DS
Sep 20, 2015
by
ajit
19.4k
views
isro2008
data-structures
linked-list
0
votes
2
answers
245
which statement is true about doubly linked list?
Gunjan Rathore
asked
in
Programming in C
May 4, 2015
by
Gunjan Rathore
9.1k
views
linked-list
24
votes
2
answers
246
GATE IT 2005 | Question: 54
The following C function takes a singly-linked list of integers as a parameter and rearranges the elements of the list. The list is represented as pointer to a structure. The function is called with the list containing the integers $1, 2, 3, 4, 5, 6, 7$ in the given order. What will be the contents of ... $1, 3, 2, 5, 4, 7, 6$ $2, 3, 4, 5, 6, 7, 1$
Ishrat Jahan
asked
in
DS
Nov 3, 2014
by
Ishrat Jahan
7.9k
views
gateit-2005
data-structures
linked-list
normal
65
votes
9
answers
247
GATE IT 2004 | Question: 13
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 the node $x$ from the list ? $O(n)$ $O(\log^2 n)$ $O(\log n)$ $O(1)$
Ishrat Jahan
asked
in
DS
Nov 1, 2014
by
Ishrat Jahan
24.8k
views
gateit-2004
data-structures
linked-list
normal
ambiguous
33
votes
4
answers
248
GATE CSE 1996 | Question: 1.12
Consider the following statements: First-in-first out types of computations are efficiently supported by STACKS. Implementing LISTS on linked lists is more efficient than implementing LISTS on an array for almost all the basic LIST operations. Implementing QUEUES on a circular array is more ... $(ii)$ are true $(iii)$ and $(iv)$ are true $(ii)$ and $(iv)$ are true
Kathleen
asked
in
DS
Oct 9, 2014
by
Kathleen
14.8k
views
gate1996
data-structures
easy
queue
stack
linked-list
26
votes
3
answers
249
GATE CSE 1995 | Question: 2.22
Which of the following statements is true? As the number of entries in a hash table increases, the number of collisions increases. Recursive programs are efficient The worst case complexity for Quicksort is $O(n^2)$ Binary search using a linear linked list is efficient I and II II and III I and IV I and III
Kathleen
asked
in
DS
Oct 8, 2014
by
Kathleen
11.3k
views
gate1995
data-structures
linked-list
hashing
35
votes
4
answers
250
GATE CSE 1994 | Question: 1.17, UGCNET-Sep2013-II: 32
Linked lists are not suitable data structures for which one of the following problems? Insertion sort Binary search Radix sort Polynomial manipulation
Kathleen
asked
in
DS
Oct 4, 2014
by
Kathleen
23.0k
views
gate1994
data-structures
linked-list
normal
ugcnetsep2013ii
41
votes
2
answers
251
GATE CSE 2010 | Question: 36
The following C function takes a singly-linked list as input argument. It modifies the list by moving the last element to the front of the list and returns the modified list. Some part of the code is left blank. typedef struct node { int value; struct node *next; ... $q \rightarrow next = NULL; p \rightarrow next = head; head = p$;
go_editor
asked
in
DS
Sep 30, 2014
by
go_editor
10.8k
views
gatecse-2010
data-structures
linked-list
normal
14
votes
4
answers
252
GATE CSE 1993 | Question: 13
Consider a singly linked list having $n$ nodes. The data items $d_1, d_2, \dots d_n$ are stored in these $n$ nodes. Let $X$ be a pointer to the $j^{\text{th}}$ node $(1 \leq j \leq n)$ in which $d_j$ is stored. A new data item $d$ stored ... insert $d$ into the list to obtain a list having items $d_1, d_2, \dots, d_{j}, d,\dots, d_n$ in order without using the header.
Kathleen
asked
in
DS
Sep 29, 2014
by
Kathleen
3.6k
views
gate1993
data-structures
linked-list
normal
descriptive
23
votes
3
answers
253
GATE CSE 1997 | Question: 18
Consider the following piece of 'C' code fragment that removes duplicates from an ordered list of integers. Node *remove-duplicates (Node* head, int *j) { Node *t1, *t2; *j=0; t1 = head; if (t1! = NULL) t2 = t1 ->next ... statements marked $S2$ get executed? What is the significance of the value in the integer pointed to by $j$ when the function completes?
Kathleen
asked
in
DS
Sep 29, 2014
by
Kathleen
4.7k
views
gate1997
data-structures
linked-list
normal
descriptive
44
votes
5
answers
254
GATE CSE 1997 | Question: 1.4
The concatenation of two lists is to be performed on $O(1)$ time. Which of the following implementations of a list should be used? Singly linked list Doubly linked list Circular doubly linked list Array implementation of list
Kathleen
asked
in
DS
Sep 29, 2014
by
Kathleen
19.4k
views
gate1997
data-structures
linked-list
easy
26
votes
5
answers
255
GATE CSE 1998 | Question: 19a
Let $p$ be a pointer as shown in the figure in a single linked list. What do the following assignment statements achieve? q:= p -> next p -> next:= q -> next q -> next:=(q -> next) -> next (p -> next) -> next:= q
Kathleen
asked
in
DS
Sep 26, 2014
by
Kathleen
7.7k
views
gate1998
data-structures
linked-list
normal
descriptive
62
votes
4
answers
256
GATE CSE 2004 | Question: 40
Suppose each set is represented as a linked list with elements in arbitrary order. Which of the operations among $\text{union, intersection, membership, cardinality}$ will be the slowest? $\text{union}$ only $\text{intersection, membership}$ $\text{membership, cardinality}$ $\text{union, intersection}$
Kathleen
asked
in
DS
Sep 18, 2014
by
Kathleen
19.0k
views
gatecse-2004
data-structures
linked-list
normal
55
votes
8
answers
257
GATE CSE 2004 | Question: 36
A circularly linked list is used to represent a Queue. A single variable $p$ is used to access the Queue. To which node should $p$ point such that both the operations $\text{enQueue}$ and $\text{deQueue}$ can be performed in constant time? rear node front node not possible with a single pointer node next to front
Kathleen
asked
in
DS
Sep 18, 2014
by
Kathleen
30.8k
views
gatecse-2004
data-structures
linked-list
normal
55
votes
6
answers
258
GATE CSE 2003 | Question: 90
Consider the function $f$ defined below. struct item { int data; struct item * next; }; int f(struct item *p) { return ((p == NULL) || (p->next == NULL)|| ((p->data <= p ->next -> data) && f(p- ... order of data value the elements in the list are sorted in non-increasing order of data value not all elements in the list have the same data value
Kathleen
asked
in
DS
Sep 17, 2014
by
Kathleen
17.5k
views
gatecse-2003
data-structures
linked-list
normal
25
votes
6
answers
259
GATE CSE 2002 | Question: 1.5
In the worst case, the number of comparisons needed to search a single linked list of length $n$ for a given element is $\log n$ $\frac{n}{2}$ $\log_2 {n} - 1$ $n$
Kathleen
asked
in
DS
Sep 15, 2014
by
Kathleen
14.7k
views
gatecse-2002
easy
data-structures
linked-list
42
votes
4
answers
260
GATE CSE 2008 | Question: 62
The following C function takes a single-linked list of integers as a parameter and rearranges the elements of the list. The function is called with the list containing the integers $1, 2, 3, 4, 5, 6, 7$ in the given order. What will be the contents of the list after function completes execution? struct ... $1, 3, 2, 5, 4, 7, 6$ $2, 3, 4, 5, 6, 7, 1$
Kathleen
asked
in
DS
Sep 12, 2014
by
Kathleen
19.0k
views
gatecse-2008
data-structures
linked-list
normal
Page:
« prev
1
...
4
5
6
7
8
9
Subscribe to GATE CSE 2024 Test Series
Subscribe to GO Classes for GATE CSE 2024
Quick search syntax
tags
tag:apple
author
user:martin
title
title:apple
content
content:apple
exclude
-tag:apple
force match
+apple
views
views:100
score
score:10
answers
answers:2
is accepted
isaccepted:true
is closed
isclosed:true
Recent Posts
Post GATE 2024 Guidance [Counseling tips and resources]
GATE CSE 2024 Result Responses
[Project Contest] Pytorch backend support for MLCommons Cpp Inference implementation
Participating in MLCommons Inference v4.0 submission (deadline is February 23 12pm IST)
IIITH PGEE 2024 Test Series by GO Classes
Subjects
All categories
General Aptitude
(3.5k)
Engineering Mathematics
(10.4k)
Digital Logic
(3.6k)
Programming and DS
(6.2k)
Algorithms
(4.8k)
Theory of Computation
(6.9k)
Compiler Design
(2.5k)
Operating System
(5.2k)
Databases
(4.8k)
CO and Architecture
(4.0k)
Computer Networks
(4.9k)
Artificial Intelligence
(79)
Machine Learning
(48)
Data Mining and Warehousing
(25)
Non GATE
(1.4k)
Others
(2.7k)
Admissions
(684)
Exam Queries
(1.6k)
Tier 1 Placement Questions
(17)
Job Queries
(80)
Projects
(11)
Unknown Category
(870)
64.3k
questions
77.9k
answers
244k
comments
80.0k
users
Recent questions tagged linked-list
Recent Blog Comments
category ?
Hi @Arjun sir, I have obtained a score of 591 in ...
download here
Can you please tell about IIT-H mtech CSE self...
Please add your admission queries here:...