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
Webpage
Programming in C.
Recursion.
Filter
Recent
Hot!
Most votes
Most answers
Most views
Previous GATE
Featured
Recent questions in Programming and DS
8
votes
2
answers
4981
ISRO2015-76
Consider the following statements #define hypotenuse (a, b) sqrt (a*a+b*b); The macro call hypotenuse(a+2,b+3); Finds the hypotenuse of a triangle with sides $a+2$ and $b+3$ Finds the square root of $(a+2)^2$ and $(b+3)^2$ Is invalid Find the square root of $3 *a+4*b+5$
Purple
asked
in
Programming in C
Jan 26, 2016
by
Purple
5.9k
views
programming-in-c
macros
isro2015
2
votes
2
answers
4982
How many ways can we insert numbers into an AVL tree so that it does not have any rotation?
If I have numbers from {1,2,...7} then in how many ways can I form an AVL tree without any rotation required ? How to approach this question ?
radha gogia
asked
in
DS
Jan 24, 2016
by
radha gogia
719
views
1
vote
2
answers
4983
Binary Search tree
A binary search tree was constructed by inserting following elements into an initially empty binary tree. 50, 27, 16, 88, 34, 65, 52, 77, 93, 4, 12, 29, 44, 92 Preorder and postorder traversals of the resultant binary search tree were stored in arrays ... present in these to array A and B ___________. Everything is ok here,, But not getting how length of LCS is calculated here.
Akanksha Kesarwani
asked
in
Programming in C
Jan 23, 2016
by
Akanksha Kesarwani
3.5k
views
data-structures
binary-search-tree
3
votes
1
answer
4984
Arithmetics in C
In C programming language x – = y + 1 ; means (1)x= x-y+1 (2)x=-x-y-1 (3)x=-x+y+1 (4)x= x-y-1
Purple
asked
in
Programming in C
Jan 23, 2016
by
Purple
18.0k
views
programming-in-c
0
votes
2
answers
4985
What will be the output of right shift?
Consider the C function func shown below: int func(int num) { int count = 0; while (num) { count++; num>>= 1; } return (count); } The value returned by func(0235) is ________
Purple
asked
in
Programming in C
Jan 23, 2016
by
Purple
829
views
programming-in-c
identify-function
1
vote
2
answers
4986
Asymptotic bounds
how to solve the recurrence relation T(n)=16T(n/4)+n^2+nlogn
Murali
asked
in
Programming in C
Jan 22, 2016
by
Murali
488
views
recurrence-relation
asymptotic-notation
0
votes
1
answer
4987
Fill the blanks
C problem takes a circular linked list as an input argument. It modifies the list by deleting the front node.
Akanksha Kesarwani
asked
in
Programming in C
Jan 22, 2016
by
Akanksha Kesarwani
452
views
programming-in-c
3
votes
3
answers
4988
Ace Test Series: Programming & DS - Programming In C
I am getting 'cd' , but answer is given as 'gh' . How come ??
Tushar Shinde
asked
in
Programming in C
Jan 22, 2016
by
Tushar Shinde
1.0k
views
ace-test-series
programming
programming-in-c
array-of-pointers
0
votes
1
answer
4989
Ace Test Series: Programming & DS - Programming In C
Ans is given as (D). But I am not getting it. If we consider HEX format, then it is giving me (A) and in normal format it is giving 2240. Where's the problem??
Tushar Shinde
asked
in
Programming in C
Jan 22, 2016
by
Tushar Shinde
729
views
ace-test-series
programming
programming-in-c
1
vote
1
answer
4990
MadeEasy Test Series: Programming & DS - Linked Lists
Here, what will be the Head->Next , I am confused is it first element 50 or second element 29.
Pradip Nichite
asked
in
DS
Jan 22, 2016
by
Pradip Nichite
705
views
made-easy-test-series
data-structures
linked-list
1
vote
1
answer
4991
MADE EASY PRACTICE TEST
https://gateoverflow.in/?qa=blob&qa_blobid=3571372420070549345
vikas khuswaha
asked
in
DS
Jan 22, 2016
by
vikas khuswaha
315
views
0
votes
0
answers
4992
Find the output of a program
Find the output of a program, address of x is 2000(in decimal) and an integer requires 4 bytes of memory. #include<stdio.h> int main () { unsigned int x[4][3]={{1,2,3},{4,5,6},{7,8,9},{10,11,12}}; printf("%u, %u, %u", x+3, *(x+3), *(x+2)+3); } a)2036, 2036, 2036 b)2012, 4, 2204 c)2036, 10, 10 d)2012, 4, 6
closed
Gaurav Rawat
asked
in
Programming in C
Jan 22, 2016
by
Gaurav Rawat
433
views
programming-in-c
1
vote
1
answer
4993
ME gate MOCK POSTFIX
Q:in the infix to postfix conversion of this, which operator is computed first? a+b-c*d/e a) + b)* c)- d)/ ANS: according to precedence and assosiativity * shouyld be computed first of all in the expression but answer is given as + are they trying to say it because the postfix ab+cd*e/- is the postfix!!!! but the word 'computed' is confusing
Aboveallplayer
asked
in
DS
Jan 22, 2016
by
Aboveallplayer
478
views
1
vote
1
answer
4994
Asympotic notations
T(n)=16T(n/4)+n! how to take k value for master therom by using n!???
tamil93
asked
in
Programming in C
Jan 21, 2016
by
tamil93
284
views
0
votes
1
answer
4995
linked list
What does the following function do for a given Linked List with first node as head? void fun1(struct node* head) { if(head == NULL) return; fun1(head->next); printf("%d ", head->data); } will it print 5-4-3-2-1 or 4-3-2-1 if i/p is 1-2-3-4-5?Will the last 5 get printed or not , due to return;
chat28
asked
in
Programming in C
Jan 21, 2016
by
chat28
5.4k
views
linked-list
1
vote
0
answers
4996
Programming
Consider following program int A(int &a,int b) { b=b-1; if(b==0) return 1; a=a+1; return a+A(a,b); } Note that first parameter is passed by reference and second by value. What is the return value by A(x,x) where the value of x is 5. ... first or is the function called...As per the ans they have used the modified value of a...is there a logic for this resolution of operands...??
closed
Abhishekcs10
asked
in
Programming in C
Jan 19, 2016
by
Abhishekcs10
242
views
programming-in-c
5
votes
5
answers
4997
Number of nodes in heap of height 'h'
The number of nodes of height $h$ in any $n$-element heap is ________. $h$ $2^{h}$ ceil $\left[\frac{n}{2^{h}}\right]$ ceil $\left[\frac{n}{2^{h+1}}\right]$ Answer is given as D, But I think it should be C. Because, even if you take height=1 then possible nodes are 3 and 2.
Tushar Shinde
asked
in
DS
Jan 19, 2016
by
Tushar Shinde
14.0k
views
data-structures
binary-tree
binary-heap
0
votes
1
answer
4998
Sorting array with elements in reverse order
Please explain how heapsort will give us best results?
shikharV
asked
in
Programming in C
Jan 19, 2016
by
shikharV
676
views
sorting
algorithms
time-complexity
6
votes
5
answers
4999
What is the time complexity to construct binary search tree when inorder and postorder traversal of tree is given?
nilamd
asked
in
DS
Jan 18, 2016
by
nilamd
6.7k
views
data-structures
binary-search-tree
10
votes
5
answers
5000
MadeEasy Test Series: Programming & DS - Binary Tree
The number of ways we can insert elements { 1, 2, 3, .... 7 } to make an AVL tree, so that it does not have any rotation are _______ ?
Tushar Shinde
asked
in
DS
Jan 18, 2016
by
Tushar Shinde
4.1k
views
made-easy-test-series
data-structures
binary-tree
avl-tree
Page:
« prev
1
...
245
246
247
248
249
250
251
252
253
254
255
...
309
next »
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)
Programming
(4.1k)
DS
(2.0k)
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 in Programming and DS
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:...
Network Sites
GO Mechanical
GO Electrical
GO Electronics
GO Civil
CSE Doubts
Aptitude Overflow