Reduce Python Geeksforgeeks Interview