Recent questions tagged goclasses-cs-dpp-day-69

3 3 votes
3 3 answers
358
358 views
You are given an $n \times n$ matrix where each row and each column is sorted in ascending order. You need to search for a target element "x" in the matrix.What is the be...
2 2 votes
1 1 answer
256
256 views
A monkey is given $n$ piles of bananas, where the 'ith' pile has nums[i] bananas (nums is an array of size n ). An integer h represents the total time in hours to eat all...
1 1 vote
3 3 answers
289
289 views
Alice has two sorted arrays $\mathrm{A}[1, \ldots, \mathrm{n}], \mathrm{B}[1, \ldots, \mathrm{n}+1]$. She knows that A is composed of distinct positive numbers, and B is ...
1 1 vote
3 3 answers
397
397 views
A machine needs a maximum of $200$ seconds to sort $1000$ elements by Quick sort. The maximum time needed (in seconds) to sort $200$ elements will be approximately ______...
2 2 votes
2 2 answers
286
286 views
Which of the following statements is/are not correct?(Here $o, \omega$ represents small-oh and small-omega, respectively.)The average-case time complexity of quicksort $=...
To see more, click for the full list of questions or popular tags.