Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Algorithms
Recent questions tagged algorithms
594
views
1
answers
3
votes
DRDO CSE 2022 Paper 2 | Question: 22
A hash table contains $10$ buckets and uses linear probing to resolve collisions. The key values are intergers and the hash function used is $\text{Key}\%10.$ ... $152$ be inserted?
admin
594
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper2
algorithms
hashing
linear-probing
5-marks
descriptive
+
–
245
views
0
answers
1
votes
DRDO CSE 2022 Paper 1 | Question: 32 (b)
Let us suppose we are given an integer $\text{N}$ in binary representation. Let us consider the following algorithm to check if $\text{N}$ is a prime.For every ... ? (Assume hypothetically that division can be done in $\text{O}(1)$ time).
admin
245
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper1
algorithms
time-complexity
3-marks
descriptive
+
–
273
views
0
answers
2
votes
DRDO CSE 2022 Paper 1 | Question: 31
How many topological sortings (or topological orderings) does the given directed graph have?
admin
273
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper1
algorithms
topological-sort
4-marks
descriptive
+
–
401
views
0
answers
1
votes
DRDO CSE 2022 Paper 1 | Question: 32 (a)
Let us suppose we are given an integer $N$ in binary representation. Let us consider the following algorithm to check if $N$ is a prime.For every $i$ ... answer the following.Explain why iterating till $\lceil\sqrt{N}\rceil$ is sufficient.
admin
401
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper1
algorithms
2-marks
descriptive
+
–
358
views
0
answers
1
votes
DRDO CSE 2022 Paper 1 | Question: 33 (a)
Consider the following graph.How many nodes (apart from $s$) does the Breadth First Search algorithm discover before discovering $t$ when starting from $s$.
admin
358
views
admin
asked
Dec 15, 2022
Algorithms
drdocse-2022-paper1
algorithms
graph-algorithms
breadth-first-search
2-marks
descriptive
+
–
444
views
1
answers
1
votes
CS Data structures and algorithm 2022
Design an algorithm to construct one heap that contains all the elements of two given heaps of sizes n and m, respectively. The heaps are given in a linked-list ... time of the algorithm should be O(log(m + n)) in the worst case
jola
444
views
jola
asked
Dec 5, 2022
Algorithms
algorithms
binary-heap
time-complexity
+
–
571
views
2
answers
1
votes
#self_doubt
what if a full binary tree contains both left and right sides as the max heap, then what will be the complexity of making it a proper max heap?
Dknights
571
views
Dknights
asked
Nov 29, 2022
Programming in C
time-complexity
algorithms
+
–
426
views
1
answers
0
votes
#self_doubt
T(n)={0:if n<11:if n==1T(n-1)+T(n-2):n>1}if the stack size is 48 bytes and one stack entry size =4 B then maximum n=?I thought it should be 13 but ... are already given so can we take n=13 so the last call which will be stored will be T(2)
Dknights
426
views
Dknights
asked
Nov 23, 2022
Algorithms
algorithms
recurrence-relation
time-complexity
+
–
313
views
1
answers
0
votes
Algo
damz1499
313
views
damz1499
asked
Nov 11, 2022
Algorithms
algorithms
identify-function
+
–
315
views
1
answers
0
votes
Asymptotic notations
Can we write f(2$^{n/a}$) = Θ(2$^{n}$) for any integer a >0?
Chaitanya Kale
315
views
Chaitanya Kale
asked
Nov 10, 2022
Algorithms
asymptotic-notation
algorithms
time-complexity
+
–
398
views
1
answers
3
votes
Google
$Find \ Time \ Complexity :$ $T(n) =$ $n^{\frac{1}{3}}$ . T($n^{\frac{2}{3}}$) + $\Theta (n)$
AniMan_7
398
views
AniMan_7
asked
Nov 8, 2022
Algorithms
algorithms
time-complexity
self-doubt
+
–
Page:
« prev
1
...
6
7
8
9
10
11
12
13
14
15
16
...
118
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register