You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JavaScript implementation of in-place bubble sort using ESM modules, with robust input validation and helper functions for array handling and element swapping. Includes demonstration scripts for printing original and sorted arrays, optimized for early exit when the array is already sorted.
JavaScript implementation of Selection Sort with support for custom comparator functions, allowing ascending, descending, or custom ordering. Features in-place sorting, robust input validation, optimized swaps, and modular ESM structure with demonstration scripts.