Young Globes interview question

Programming written problems Like Fibonacci series Prime number ..