Can you make this even better, by better i mean efficient and simple and do not include the sort function from algorithm library | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

Can you make this even better, by better i mean efficient and simple and do not include the sort function from algorithm library

I copied this code from someone else and wanted to make it even better but i cannot as of now because of my obvious horse killing skills so i thought of asking of help from you guys. https://code.sololearn.com/c1SgE8R7CRy5/?ref=app https://code.sololearn.com/c1SgE8R7CRy5/?ref=app

2nd Apr 2022, 5:18 AM
Dhanraj Tamang
Dhanraj Tamang - avatar
1 Resposta
+ 5
The sort algorithm in <algorithm> is written by skillful people. TBH I believe their implementation will be more efficient then any implementation figured by learners (no disrespect).
2nd Apr 2022, 7:39 AM
Ipang