Domanda di colloquio di causaLens

Build a function that returns the max sum possible from two elements within a list

Risposte di colloquio

Anonimo

20 ott 2019

Import a library that does it for you, but I think they were looking for the hard (pointless?) raw algorithm.

Anonimo

11 giu 2020

sum(sorted(input)[-2:]))