This pull request introduces the implementation of the Selection Sort algorithm in TypeScript, adhering to the requested format. It includes the necessary code changes along with the associated documentation.
Changes Made:
Added the selectionSort function to perform Selection Sort on an array of numbers.
Provided the time and space complexity analysis for Selection Sort.
Updated the README.md file to include details about the Selection Sort implementation.
Testing:
I have thoroughly tested the selectionSort function with various input arrays to ensure its correctness and efficiency.
Description:
This pull request introduces the implementation of the Selection Sort algorithm in TypeScript, adhering to the requested format. It includes the necessary code changes along with the associated documentation.
Changes Made:
Testing:
I have thoroughly tested the selectionSort function with various input arrays to ensure its correctness and efficiency.