Google Interview Question

1. Some simple random stimulus with specified constraints