Question d’entretien chez CIBC

easy python coding questions on coderpad - 1) given a string and i have to reverse it, 2) Given a string nums, i have to pick the odd numbers and return that string. 3) given a dictionary of key as restaurant and value as list of reviews, i have to return the restaurant with the max reviews. Asked some pyspark code to write as well.