c++ - partially sorting in decending order -


we have partially sort array in descending order.

i know std::partial_sort in ascending order.

http://en.cppreference.com/w/cpp/algorithm/partial_sort.

is other such function can or fast algorithm so.

the second overload in reference linked takes comparer – pass in instance of std::greater<t>.


Comments

Popular posts from this blog

Glib GIOChannel -

jsp - java.sql.SQLException: [Microsoft][ODBC Microsoft Access > Driver] Too few parameters. Expected 1 -

delphi - When I encode/decode SMS PDU (GSM 7 Bit) user data, do I need prepend the UDH first? -