PwC interview question

Dsa and algorithm and python tuples