Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Answers by Winner
0
votes
1
CMI2019-A-9
The next two questions refer to the following program. In the code below reverse$(A,i,j)$ takes an array $A,$ indices $i$ and $j$ with $i\leq j,$ and reverses the segment $A[i],A[i+1],\cdots,A[j].$ ... } reverse(A,i,m); } return; } When the procedure terminates, the array A has been: Sorted in descending order Sorted in ascending order Reversed Left unaltered
The next two questions refer to the following program.In the code below reverse$(A,i,j)$ takes an array $A,$ indices $i$ and $j$ with $i\leq j,$ and reverses the segment ...
926
views
answered
Jan 27, 2020
Programming in C
cmi2019
identify-function
+
–
1
votes
2
GATE IT 2008 | Question: 23
What is the probability that in a randomly chosen group of $r$ people at least three people have the same birthday? $1-\dfrac{365-364 \dots (365-r+1)}{365^{r}}$ ... $\dfrac{365 \cdot 364 \dots (365-r+1)}{365^{r}}$
What is the probability that in a randomly chosen group of $r$ people at least three people have the same birthday?$1-\dfrac{365-364 \dots (365-r+1)}{365^{r}}$$\dfrac{365...
8.7k
views
answered
Apr 21, 2019
Probability
gateit-2008
probability
normal
+
–
3
votes
3
Is reading comprehension asked in IIITH
Does in iiith pgeee exam , does Reading comprehension is being asked. Do we need to prepare for it?
Does in iiith pgeee exam , does Reading comprehension is being asked. Do we need to prepare for it?
709
views
answered
Mar 29, 2019
Numerical Methods
iiith-pgee
+
–
1
votes
4
Time complexity
Please help to find the time complexity of this loop. void main() { int n; while(n>=1) { n=n-2; } }
Please help to find the time complexity of this loop. void main(){int n;while(n>=1){n=n-2;}}
683
views
answered
Mar 19, 2019
Algorithms
time-complexity
algorithms
+
–
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register