Algorithm Problems

finished algorithm problems