mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Code cleanup.
This commit is contained in:
parent
631519cdfe
commit
d72cd4fe2c
|
@ -101,12 +101,10 @@
|
|||
"source": [
|
||||
"print('Empty input')\n",
|
||||
"data = []\n",
|
||||
"#quick_sort(data)\n",
|
||||
"print(data)\n",
|
||||
"print(quick_sort(data))\n",
|
||||
"print('One element')\n",
|
||||
"data = [5]\n",
|
||||
"#quick_sort(data)\n",
|
||||
"print(data)\n",
|
||||
"print(quick_sort(data))\n",
|
||||
"print('Two or more elements')\n",
|
||||
"data = [5, 1, 7, 2, 6, -3, 5, 7, -1]\n",
|
||||
"print(quick_sort(data))"
|
||||
|
|
Loading…
Reference in New Issue
Block a user