Recent questions tagged algorithms

0 votes
1 answer
91
$\text{Please explain True or False and Why ?}$$\text{1. f(n) = O(f(n/2))}$$\text{2. f(n) = O($f(n)^{2}$) }$
0 votes
0 answers
94
0 votes
0 answers
95
Prove L = {F | F is a boolean formula and F evaluates to true on every asignment" is decidable (include algorithm and running time in big o notation)
0 votes
1 answer
96
Consider the following algorithm for Build-Max-heap and the given array A=[ 47,96, 35, 54, 77, 65, 83]. Run this algorithm on the given array and redraw the heap and the ...
2 votes
1 answer
97
When it comes to Gate Data Science and AI, what language will the DSA questions be asked in - Python or C language?
0 votes
0 answers
98
It is always true that Recursive code is easier to debug?? If yes then why?? please give full explanation.
0 votes
1 answer
104
Consider a lower triangular matrix stored in row major order as p[-25 - - + 749][-25 - - - + 749] with base address = 6800, size of each element = 6 byte. Find the value ...