Verint interview question

1. Create a function that reverses a string 2. Create a function that decides if string is palindrome 3. create a closure function in JS 4. Whiteboard - design a system that allows customer to convert long url to short url