huff-language / huffmate

A library of modern, hyper-optimized, and extensible Huff contracts with extensive testing and documentation built by Huff maintainers.
https://github.com/pentagonxyz/huffmate
MIT License
430 stars 55 forks source link

implemented insertion sort algorithm in huff #107

Closed tanim0la closed 1 year ago

tanim0la commented 1 year ago

It sorts array passed as args in ascending order and i also wrote a test for it.

Happy to contribute to HUFF :)

tanim0la commented 1 year ago

LGTM - will need touchups in the dev branch, but nice work!

Thank you! :)