More Algorithm Questions due 15/11/21