Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged goclasses-cs-dpp-day-315
6
6 votes
2
2 answers
226
226 views
GO Classes DPP | GATE CS | Data Structures | Linked List Application
The UNIX editor $\texttt{vi}$ allows searching in both directions, and if the search reaches one end, it wraps around and continues from the other end.If the sequence of ...
GO Classes
226
views
asked
Jul 6
Data Structures
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-315
data-structures
goclasses-ds-practice-questions
circular-linked-list
+
–
6
6 votes
3
3 answers
228
228 views
GO Classes DPP | GATE CS | Data Structures | Circular Linked List
A circular linked list has $n$ nodes. A function prints every node exactly once and stops when it reaches the starting node again.What is the running time of printing the...
GO Classes
228
views
asked
Jul 6
Data Structures
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-315
data-structures
goclasses-ds-practice-questions
circular-linked-list
+
–
6
6 votes
2
2 answers
272
272 views
GO Classes DPP | GATE CS | Data Structures | Linked List Reverse
A singly linked list contains $n$ nodes. We want to reverse the order of the elements in the linked list by changing links, not by copying all elements into an array.Whic...
GO Classes
272
views
asked
Jul 6
Data Structures
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-315
data-structures
goclasses-ds-practice-questions
linked-list
+
–
7
7 votes
2
2 answers
250
250 views
GO Classes DPP | GATE CS | Data Structures | Final Head After Reversal
The following function is supposed to reverse a singly linked list:struct node { int data; struct node *next; }; static void reverse(struct node head_ref) { struct node ...
GO Classes
250
views
asked
Jul 6
Data Structures
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-315
data-structures
goclasses-ds-practice-questions
linked-list
+
–
8
8 votes
2
2 answers
246
246 views
GO Classes DPP | GATE CS | Data Structures | Linked List Reverse Implement
Consider the following C-style code fragment for reversing a non-empty singly linked list:curr = front; next = curr->next; prev = NULL; while (curr != NULL) { (*) } front...
GO Classes
246
views
asked
Jul 6
Data Structures
goclasses
goclasses-cs-dpp
goclasses-cs-dpp-day-315
data-structures
goclasses-ds-practice-questions
linked-list
+
–
5
5 votes
3
3 answers
364
364 views
GO Classes DPP | GATE CS | Theory of Computation | DFA Minimization
Consider the DFA over $\Sigma = \{a,b\}$ with states $q_0,q_1,q_2,q_3,q_4$. The start state is $q_0$, and the final states are $q_2$ and $q_4$. The transition function is...
GO Classes
364
views
asked
Jul 6
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-315
goclasses-toc-practice-questions
finite-automata
numerical-answers
+
–
6
6 votes
5
5 answers
329
329 views
GO Classes DPP | GATE CS | Theory of Computation | DFA Modification
Consider the following finite state machine $A$Which modification makes it a DFA for $L = \{w \in \{a,b\}^* \mid w$ starts with $a$ and has exactly two $a$'s$\}$?Replace ...
GO Classes
329
views
asked
Jul 6
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-315
goclasses-toc-practice-questions
finite-automata
+
–
5
5 votes
2
2 answers
204
204 views
GO Classes DPP | GATE CS | Theory of Computation | String Tracing
Consider a DFA with three states: $I$, $F$, and $D$. $I$ is the initial state, $F$ is the only final state, and $D$ is a dead state. The transitions are: $$\begin{array}{...
GO Classes
204
views
asked
Jul 6
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-315
goclasses-toc-practice-questions
finite-automata
+
–
7
7 votes
1
1 answer
197
197 views
GO Classes DPP | GATE CS | Theory of Computation | String Tracing DFA
The following DFA accepts all those strings in which number of $1$'s and $0$'s areDivisible by $3$ and $2$ respectively. Odd and Even respectively. Even and Odd respectiv...
GO Classes
197
views
asked
Jul 6
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-315
goclasses-toc-practice-questions
finite-automata
+
–
4
4 votes
2
2 answers
229
229 views
GO Classes DPP | GATE CS | Theory of Computation | Equivalent DFA
Two finite state machines are said to be equivalent if they:Have the same number of edges Have the same number of states Recognize the same set of strings Have the same n...
GO Classes
229
views
asked
Jul 6
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-315
goclasses-toc-practice-questions
finite-automata
+
–
To see more, click for the
full list of questions
or
popular tags
.