Clipboard interview question

Implement code to solve a problem using the online IDE