Reverse String Using Lambda Python Functions Geeksforgeeks Javascript