sort and reverse

Revision en2, by ShahariarIslam, 2024-04-17 03:42:11

sort(v.begin(),v.end(),greater ()); it is same as sort(v.begin(),v.end()); reverse(v.begin(),v.end());

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English ShahariarIslam 2024-07-10 09:20:26 67
en2 English ShahariarIslam 2024-04-17 03:42:11 2 Tiny change: '(),greater<int>());\' -> '(),greater <int>());\'
en1 English ShahariarIslam 2024-04-17 03:38:33 132 Initial revision (published)