N Nam Phong New member Sep 18, 2021 #1 It is not possible to implement counting sort when any of the input element has negative value. A. True B. False
It is not possible to implement counting sort when any of the input element has negative value. A. True B. False
H Huyền Thu New member Sep 18, 2021 #2 Answer: b Explanation: It is possible to extend the counting sort algorithm for negative numbers as well. In such a case we store the minimum element at the 0th index. Upvote 0 Downvote
Answer: b Explanation: It is possible to extend the counting sort algorithm for negative numbers as well. In such a case we store the minimum element at the 0th index.