algo problems