8 queen _ fortress _ backpack _ two points _ merge _ fast row _ prime ring simple code