How to display 1 sorting comparison every 1 second in php?

后端 未结 0 732
生来不讨喜
生来不讨喜 2021-01-18 04:09

I want to display every 1 second only 1 comparison in order to see visually how the the array is being sorted step by step .

I tried to add sleep(1) in the end of the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题