Labcorp interview question

Leet code puzzles for python