Turing interview question

Solve Coding Problems and Analyze their Efficiencies.