closed by
583 views
0 votes
0 votes

How to solve it using substitution method ?

closed by

Related questions

609
views
1 answers
1 votes
Sajal Mallick asked Nov 28, 2023
609 views
Consider the problem that given a set Sof n integers and another integer x, whether or not there exist two elements in S whose sum is exactly x. What is the worst ... in dynamic programming? Then complexity should be O(n^2).How O(n logn)?
216
views
0 answers
0 votes
319
views
1 answers
0 votes
NeelParekh asked Jul 27, 2023
319 views
If an array is split in the form of increasing and decreasing order then what is TC to find minimum element in the array?
497
views
1 answers
2 votes
h4kr asked Dec 30, 2022
497 views
What is the correct time complexity in $\theta()$ ?