Ahold Delhaize interview question

1. Reverse a string. 2. Form validation