Thoughtworks Interview Question

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