mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-09-28 21:45:27 +08:00
* added merge interval problem on the array ds * removed typing which is deprecated * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor type hints in merge_intervals function Updated type hints from List to built-in list for compatibility. * Enhance merge_intervals function documentation Added edge cases handling and updated complexity notes. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactor docstring and type hints in merge_intervals Updated type hints and docstring formatting in merge_intervals function. * Refactor merge_intervals function docstring Updated docstring formatting and improved error message clarity. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update data_structures/arrays/merge_intervals.py Co-authored-by: priya-sundaram-dev <oc-409d01@agentmail.to> * updating DIRECTORY.md --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com> Co-authored-by: priya-sundaram-dev <oc-409d01@agentmail.to> Co-authored-by: cclauss <cclauss@users.noreply.github.com>