79806264

Date: 2025-10-31 23:18:40
Score: 2.5
Natty:
Report link

What the insertion sort + binary search algorithm provides is reducing the number of catching the smallest element , it becomes O(log(n)) instead of O(n), but the shifting operations are still the same O(n) for every iteration. Hence, the total time complexity is O(n log(n) +nn) , we take the biggest so it is O(n*n ).

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What the in
  • Low reputation (1):
Posted by: Mohammad Othman