+ 1

Sorting a Deque

I need to sort a deque by name. Please help.

3rd Apr 2017, 9:51 PM
Christian
Christian - avatar
1 Answer
+ 3
I have a small C++ program that sorts name alphabetically, Here's the link... https://code.sololearn.com/cr317vwrGmE1/#cpp When running from sololearn code playground first input a number (say 4) and then type some names separated by at-least one space. If it is useful to you, you can customize the code for your requirement. The general approach remains the same. Enjoy ;-)
5th Apr 2017, 7:59 AM
Renjith M
Renjith M - avatar