結果 : explain different characteristics of algorithms with suitable example