Azienda coinvolta
Build a function that returns the max sum possible from two elements within a list
Anonimo
Import a library that does it for you, but I think they were looking for the hard (pointless?) raw algorithm.
sum(sorted(input)[-2:]))
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.