devops-exercises icon indicating copy to clipboard operation
devops-exercises copied to clipboard

Implemented recursive merge sort algorithm with O(n log n)

Open djeada opened this issue 11 months ago • 0 comments

  • Implemented recursive merge sort algorithm with O(n log n) time complexity.
  • Implemented merge helper function for combining sorted sublists.
  • Introduced generate_random_list function to encapsulate list generation logic.
  • Created main function with a docstring detailing time complexity.
  • Used f-strings for improved readability.
  • Enhanced modularity and readability.
  • Maintained original functionality and interface for backward compatibility.

djeada avatar Jan 09 '25 21:01 djeada