Search code examples
algorithmbubble-sort

what does 'work through an algorithm by hand' mean?


I'm doing this assignment and I don't understand the wording. Do you think it means to write in pseudocode or write a paragraph? Does anyone have any ideas?

enter image description here


Solution

  • It means to describe the algorithm with words and draw the array values in each step. Here is an example: https://www.geeksforgeeks.org/bubble-sort/