HomeTrend2.4 design of algorithms and analysis solutions pdf