Solved

The Difference Between Functions Partition and Stable_partition Is That

Question 50

Multiple Choice

The difference between functions partition and stable_partition is that:


A) partition may throw an exception while stable_partition will not.
B) partition can only be called on a sequence that is already sorted.
C) stable_partition maintains the original order for the elements in each of the two resulting partitions with respect to the other elements in that same partition.
D) stable_partition allows an element to be duplicated and placed into both partitions.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents