Vestas Wind Systems interview question

Write a function for n! Do it recursively. And some task based on an in-place operation.