Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
Jyustin committed Apr 15, 2024
1 parent 50b8d19 commit af5cc2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions _notebooks/2024-04-03-allsorts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 6,
"metadata": {
"vscode": {
"languageId": "java"
Expand All @@ -466,39 +466,39 @@
"user:derpy tokens: 200\n",
"user:birdie tokens: 4000\n",
"user:shiny tokens: 29312\n",
"Runtime of bubble sort: 13510 nanoseconds\n",
"Runtime of bubble sort: 4706 nanoseconds\n",
"\n",
"after selection sort:\n",
"user:dash tokens: 100\n",
"user:pinkie tokens: 150\n",
"user:derpy tokens: 200\n",
"user:birdie tokens: 4000\n",
"user:shiny tokens: 29312\n",
"Runtime of selection sort: 7088 nanoseconds\n",
"Runtime of selection sort: 5291 nanoseconds\n",
"\n",
"after merge sort:\n",
"user:dash tokens: 100\n",
"user:pinkie tokens: 150\n",
"user:derpy tokens: 200\n",
"user:birdie tokens: 4000\n",
"user:shiny tokens: 29312\n",
"Runtime of merge sort: 6661 nanoseconds\n",
"Runtime of merge sort: 5487 nanoseconds\n",
"\n",
"after insertion sort:\n",
"user:dash tokens: 100\n",
"user:pinkie tokens: 150\n",
"user:derpy tokens: 200\n",
"user:birdie tokens: 4000\n",
"user:shiny tokens: 29312\n",
"Runtime of insertion sort: 3509 nanoseconds\n",
"Runtime of insertion sort: 2355 nanoseconds\n",
"\n",
"after quick sort:\n",
"user:dash tokens: 100\n",
"user:pinkie tokens: 150\n",
"user:derpy tokens: 200\n",
"user:birdie tokens: 4000\n",
"user:shiny tokens: 29312\n",
"Runtime of quick sort: 2225 nanoseconds\n"
"Runtime of quick sort: 2737 nanoseconds\n"
]
}
],
Expand Down
10 changes: 5 additions & 5 deletions _posts/2024-04-03-allsorts_IPYNB_2_.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,37 +751,37 @@ ChatUsers.main(null);
user:derpy tokens: 200
user:birdie tokens: 4000
user:shiny tokens: 29312
Runtime of bubble sort: 13510 nanoseconds
Runtime of bubble sort: 4706 nanoseconds

after selection sort:
user:dash tokens: 100
user:pinkie tokens: 150
user:derpy tokens: 200
user:birdie tokens: 4000
user:shiny tokens: 29312
Runtime of selection sort: 7088 nanoseconds
Runtime of selection sort: 5291 nanoseconds

after merge sort:
user:dash tokens: 100
user:pinkie tokens: 150
user:derpy tokens: 200
user:birdie tokens: 4000
user:shiny tokens: 29312
Runtime of merge sort: 6661 nanoseconds
Runtime of merge sort: 5487 nanoseconds

after insertion sort:
user:dash tokens: 100
user:pinkie tokens: 150
user:derpy tokens: 200
user:birdie tokens: 4000
user:shiny tokens: 29312
Runtime of insertion sort: 3509 nanoseconds
Runtime of insertion sort: 2355 nanoseconds

after quick sort:
user:dash tokens: 100
user:pinkie tokens: 150
user:derpy tokens: 200
user:birdie tokens: 4000
user:shiny tokens: 29312
Runtime of quick sort: 2225 nanoseconds
Runtime of quick sort: 2737 nanoseconds

0 comments on commit af5cc2d

Please sign in to comment.