in Algorithms edited by
1,423 views
1 vote
1 vote

Please Justify Statements which are true and which are false by an Example:

Consider the following statements :
S1  :While performing quick sort at any iteration only 1 element can be present at its correct position.
S2  : The running time of Radix Sort is effectively independent of whether the input is already sorted.
S3  : In quick sort, after  iteration applied on the set of elements left after  iterations, if any element is found to be at its correct position, then that element must have been the pivot for the  iteration.
S4 : If a weighted directed graph ‘G’ is known to have no shortest path longer than ‘P’ edges, then it is sufficient to run Bellman-Ford for only ‘P’ passes in order to solve the single source shortest path problem on ‘G’.

Which of the following is correct ?

in Algorithms edited by
by
1.4k views

Please log in or register to answer this question.

Related questions