Recent questions tagged iitb-practice-set

0 votes
0 answers
4
Kamala tosses $11$ fair coins and Rajani tosses $10$ fair coins. The probability that the number of heads obtained by Kamala is more than the number of tails obtained by ...
0 votes
0 answers
9
Consider expression trees made up of variables and the operator $+$. Let the size of a tree be defined as the number of nodes in the tree, counting both internal and leaf...
0 votes
0 answers
11
0 votes
1 answer
12
0 votes
0 answers
14
Suppose the ground is the $(x, y)$ plane and the sun is located at infinity in the direction of the vector $(1,2,1)$.When a flying bird is at the point $(1,1,1)$, its sha...
0 votes
1 answer
16
0 votes
0 answers
28
Consider the following algorithm.What does the above algorithm compute?
0 votes
0 answers
29
The input is an array $A$ of size $n\geq 5$. As output we require indices $i < j < k$ such that either $A[i] \leq A[ j] \leq A[k]\text{ or }A[i] \geq A[ j] \geq A[k]$. Th...
0 votes
0 answers
30
How many ordered pairs of positive integers $(a,b)$ are there such that $\text{lcm}(a,b) = n \text{ and gcd}(a,b) = 1?$Express your answer in terms of the prime factoriza...