How to optimise sorting of data from list of list in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to optimise sorting of data from list of list in c++

Hello Please suggest best optimised value to have sorted data from list of list.. Note that data within each sub list is sorted. Additionally sub lists are also added to main list such that it's first elements are sorted with respect to main list. Sample code is as below and looking for your suggestions to optimise the same: https://code.sololearn.com/cqY64ndEnHey/?ref=app

1st Dec 2019, 1:06 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
3 Answers
+ 2
Just posting a comment so that i can get some information
2nd Dec 2019, 1:20 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 2
blackwinter Arnab Debnath John Wells ~ swim ~ 🅰🅹 - ɪ'ᴍ ᴄʀɪᴍɪɴᴀʟʟʏ ɢᴏᴏᴅ! Ace any thoughts on this would be of great help... Feel free to tag more people if you know if he / she can have some imp views on this...
4th Dec 2019, 6:11 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 2
Thanks ~ swim ~
4th Dec 2019, 10:03 AM
Ketan Lalcheta
Ketan Lalcheta - avatar