491 views

1 Answer

0 votes
0 votes
ya bro same as your earlier q @SumitGoyal

ans will be n^5 as just multiply max possible time all loops can run i.e n * n^2 * n^2 = n^5

Related questions

0 votes
0 votes
0 answers
2
0 votes
0 votes
1 answer
4
NeelParekh asked Jul 27, 2023
279 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?