feature/OneMoreSorting #9

Merged
lobo merged 2 commits from feature/OneMoreSorting into main 2026-02-04 15:34:18 +01:00
Owner
No description provided.
lobo added 2 commits 2026-02-04 15:34:16 +01:00
Introduce Cocktail (Shaker) Sort to the sorting visualizer: implement cocktailSort and a helper switchValuesIfCorrect in the SortingService to generate snapshots for the animation. Add SHAKE_SORT_WIKI URL constant and a UI paragraph (with a link) plus German translation text for the algorithm explanation. Expose the new algorithm in the component (availableAlgorithms and switch handling). Also refactor the component to use Angular's inject() for SortingService and ChangeDetectorRef, tighten some typings (timeoutIds -> number[]), adjust default arraySize, and use const where appropriate.
lobo merged commit 6b64c5f4e9 into main 2026-02-04 15:34:18 +01:00
lobo deleted branch feature/OneMoreSorting 2026-02-04 15:34:21 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Lobo_Corp/playground-frontend#9