Ukhang / algojo

An Open-Source Data Structure and Algorithm Library for Javascript 👩‍💻
MIT License
2 stars 2 forks source link

Implementation of Insertion Sort in TypeScript #4

Closed neeraj542 closed 1 year ago

neeraj542 commented 1 year ago

Description:

This pull request introduces the implementation of the Insertion Sort algorithm in TypeScript, following the requested format. The changes include the addition of the insertionSort function along with the relevant documentation.

Changes Made:

Testing:

I have conducted thorough testing on the insertionSort function using various input arrays to ensure its correctness and efficiency.