two algorithm problems

Printable View