easy one: recursively + iteratively