Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage
Programming in C.
Recursion.
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions in Programming and DS
0
votes
0
answers
2601
Programming Previous Year Question
References : https://gateoverflow.in/893/gate2003-2 int *A[10]; so can any one describe A[2][3]; A[2] is valid . As it is array of pointer and A[2] third element in this array of pointer will hold the address . But I don't get well meaning of A[2][3] . And I am getting compilation error . using compiler DEV C++ Version 5.11
References : https://gateoverflow.in/893/gate2003-2int *A[10];so can any one describe A [3];A is valid . As it is array of pointer and A third element in this array of ...
hem chandra joshi
889
views
hem chandra joshi
asked
Nov 16, 2017
Programming in C
programming-in-c
+
–
1
votes
1
answer
2602
Linked List
Here In this question it is given that we have to perform nlogn decrease key operation and n find operation . 1)Finding an element in the linked list itself takes O(n) and there are N such operations total=O(n2). 2)Decrease key: Find key O(n) + O(1) for decrease=O(n) and there are nlogn such operations: total O(n2logn). Please correct Me : Image :
Here In this question it is given that we have to perform nlogn decrease key operation and n find operation .1)Finding an element in the linked list itself takes O(n) and...
saxena0612
1.3k
views
saxena0612
asked
Nov 16, 2017
DS
data-structures
linked-list
time-complexity
made-easy-test-series
+
–
7
votes
4
answers
2603
2Darray
Consider a 2D array with elemnts stored in the form of lower triangular matrix.The elements must be crossed to read A[4,2] from the array [-6..................+8 , -6..........+8 ] is
Consider a 2D array with elemnts stored in the form of lower triangular matrix.The elements must be crossed to read A[4,2] from the array [-6..................+8 , -6.......
A_i_$_h
5.6k
views
A_i_$_h
asked
Nov 15, 2017
1
votes
1
answer
2604
C-programming
What will be the output ? #include<stdio.h> int main() { char *str1 = "xyz"; char *str2 = "xyz"; if(str1 == str2) printf("equal"); else printf("unequal"); return 0; }
What will be the output ?#include<stdio.h>int main(){ char *str1 = "xyz"; char *str2 = "xyz"; if(str1 == str2) printf("equal"); else printf("une...
Abhisek Saha
726
views
Abhisek Saha
asked
Nov 15, 2017
Programming in C
strings
pointers
programming-in-c
+
–
2
votes
2
answers
2605
AVL tree
Please provide a step by step solution to this problem. Create an AVL tree for the nodes A,Z,B,C,X,D,E. The number of leaves in the resultant tree is____________.
Please provide a step by step solution to this problem.Create an AVL tree for the nodes A,Z,B,C,X,D,E. The number of leaves in the resultant tree is____________.
Parshu gate
1.5k
views
Parshu gate
asked
Nov 15, 2017
DS
data-structures
avl-tree
+
–
0
votes
2
answers
2606
Pointers and function
atul_21
798
views
atul_21
asked
Nov 15, 2017
4
votes
1
answer
2607
Pointers
Answer given is D "gh" . how??
Answer given is D "gh" . how??
atul_21
527
views
atul_21
asked
Nov 14, 2017
3
votes
2
answers
2608
Output problem
atul_21
376
views
atul_21
asked
Nov 14, 2017
2
votes
1
answer
2609
Binary Search tree
atul_21
841
views
atul_21
asked
Nov 14, 2017
1
votes
1
answer
2610
Self Doubt
How many distinct unlabelled simple graphs (connected or disconnected), having n nodes, are possible?
How many distinct unlabelled simple graphs (connected or disconnected), having n nodes, are possible?
Rachit Agarwal
539
views
Rachit Agarwal
asked
Nov 14, 2017
Programming in C
graph-theory
data-structures
+
–
2
votes
0
answers
2611
Data Structure
Lakshman Bhaiya
278
views
Lakshman Bhaiya
asked
Nov 14, 2017
Programming in C
tree
+
–
3
votes
1
answer
2612
Circular Linked List
In circular singly linked list, insertion of node requires modification of how many pointers? 1 pointers 2 pointers 3 pointers 4 pointers
In circular singly linked list, insertion of node requires modification of how many pointers?1 pointers2 pointers3 pointers 4 pointers
hacker16
21.7k
views
hacker16
asked
Nov 14, 2017
Programming in C
linked-list
data-structures
+
–
5
votes
1
answer
2613
Linked List (Time Complexity)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list? O(n) O(1) θ(n2) θ(n)
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?O(n)O(1)θ(n2)θ...
hacker16
3.5k
views
hacker16
asked
Nov 14, 2017
DS
data-structures
linked-list
time-complexity
+
–
2
votes
2
answers
2614
static variable
i think it would be static local variable
i think it would be static local variable
Ravi prakash pandey
368
views
Ravi prakash pandey
asked
Nov 14, 2017
Programming in C
programming-in-c
+
–
2
votes
1
answer
2615
MadeEasy Subject Test: Programming & DS - Programming in C
charul
561
views
charul
asked
Nov 14, 2017
Programming in C
made-easy-test-series
programming-in-c
programming
+
–
5
votes
3
answers
2616
Linear and Quadratic probing
1.Linear Probing suffers from both primary and secondary clustering. true or false? 2. Quadratic Probing suffers from both primary and secondary clustering. true or false?
1.Linear Probing suffers from both primary and secondary clustering. true or false?2. Quadratic Probing suffers from both primary and secondary clustering. true or fal...
atul_21
4.8k
views
atul_21
asked
Nov 14, 2017
3
votes
1
answer
2617
MadeEasy Subject Test: Programming & DS - Programming in C
kamakshi
467
views
kamakshi
asked
Nov 14, 2017
Programming in C
made-easy-test-series
programming-in-c
programming
+
–
5
votes
1
answer
2618
Doubt on switch case labels in C
#include <stdio.h> int main() { int check = 20; const int arr[] = {10, 20, 30}; switch (check) { case arr[0]: printf("Tuhin "); case arr[1]: printf("Dutta"); case arr[2]: printf("TuhinDutta"); } return 0; } Please provide output.
#include <stdio.h>int main(){ int check = 20; const int arr[] = {10, 20, 30}; switch (check) { case arr[0]: printf("Tuhin "); case arr : printf...
Tuhin Dutta
1.5k
views
Tuhin Dutta
asked
Nov 14, 2017
Programming in C
programming-in-c
+
–
2
votes
1
answer
2619
Testbook | Output of the following program
main() { int i = 511; char *ptr = (char *)&i; printf("%d", *ptr); }
main() {int i = 511;char *ptr = (char *)&i;printf("%d", *ptr); }
techbrk3
627
views
techbrk3
asked
Nov 14, 2017
Programming in C
programming-in-c
+
–
2
votes
5
answers
2620
MadeEasy Subject Test: Programming & DS - Trees
A 4-ary tree,i.e. each node has either 0 or 4 children tree has 20 leaf nodes. Then the total number of nodes in the tree are ____.
A 4-ary tree,i.e. each node has either 0 or 4 children tree has 20 leaf nodes. Then the total number of nodes in the tree are ____.
Hardik Vagadia
980
views
Hardik Vagadia
asked
Nov 13, 2017
DS
made-easy-test-series
data-structures
tree
+
–
Page:
« prev
1
...
126
127
128
129
130
131
132
133
134
135
136
...
310
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register