OYO interview question

Find all pythagorean triplets below n.