retagged by
278 views
0 votes
0 votes

retagged by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
Sajal Mallick asked Nov 27, 2023
183 views
As we have to select maximal set of “non overlapping” activities. So like job scheduling algo of greedy we can solve it. So according to that complexity must be O(n l...
0 votes
0 votes
1 answer
3
Ray Tomlinson asked Aug 9, 2023
461 views
How many times is the comparison $i >= n$ performed in the following program?int i = 200 n = 80; main() { while (i >= n) { i = i - 2 n = n + 1 } }