Thoughtworks interview question

They include one analaytical question and a basic coding question for a HCF of two numbers.