Skip to content

Conversation

@nat-laz
Copy link
Collaborator

@nat-laz nat-laz commented Oct 17, 2024

  • improve visibility for InsertionSort algorithm behavior - for better visibility needed to add dynamic sleepingTime(because of this it's taking to long for the whole animation)

  • added new algorithm HeapSpot ( maybe to replace the InsertionSort)

  • added printStatistics() => InsertionSort; HeapSpot; (need to be discussed final output for all algorithms)

added HeapSpot logic

added printStatistics() => InsertionSort; HeapSpot
@nat-laz nat-laz requested a review from bruchdev October 17, 2024 07:28
@bruchdev
Copy link
Owner

GREAT animated, but not all columns are highlighted green after sort

Screenshot from 2024-10-17 09-36-10

@bruchdev
Copy link
Owner

Maybe after sorting we can just color all elements in green and show sorted array with statistic for 2-3 seconds?

@bruchdev
Copy link
Owner

I've added commit that fixes small bug with highlighting

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to change that if cycle in all algorithms

@nat-laz
Copy link
Collaborator Author

nat-laz commented Oct 17, 2024

and it works?

@nat-laz nat-laz merged commit d397720 into main Oct 17, 2024
@bruchdev bruchdev deleted the fix/visualization-insertionSort-algorithm branch October 17, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants