Google interview question

1. Some simple random stimulus with specified constraints