Some algorithm problems