e algorithm analysis and problem complexity