Upload merge_sort.ipynb
Browse files- merge_sort.ipynb +5 -35
merge_sort.ipynb
CHANGED
@@ -29,50 +29,20 @@
|
|
29 |
},
|
30 |
{
|
31 |
"cell_type": "code",
|
32 |
-
"execution_count":
|
33 |
"id": "207ffa0d-f9fa-4753-966d-40ee128dedea",
|
34 |
"metadata": {},
|
35 |
-
"outputs": [
|
36 |
-
{
|
37 |
-
"data": {
|
38 |
-
"application/mercury+json": "{\n \"widget\": \"App\",\n \"title\": \"Visualising sorting of numbers using recursion in merge sort\",\n \"description\": \"using merge sort\",\n \"show_code\": false,\n \"show_prompt\": false,\n \"output\": \"app\",\n \"schedule\": \"\",\n \"notify\": \"{}\",\n \"continuous_update\": true,\n \"static_notebook\": false,\n \"show_sidebar\": true,\n \"full_screen\": true,\n \"allow_download\": true,\n \"stop_on_error\": false,\n \"model_id\": \"mercury-app\",\n \"code_uid\": \"App.0.40.25.1-rand2a1d4a81\"\n}",
|
39 |
-
"text/html": [
|
40 |
-
"<h3>Mercury Application</h3><small>This output won't appear in the web app.</small>"
|
41 |
-
],
|
42 |
-
"text/plain": [
|
43 |
-
"mercury.App"
|
44 |
-
]
|
45 |
-
},
|
46 |
-
"metadata": {},
|
47 |
-
"output_type": "display_data"
|
48 |
-
}
|
49 |
-
],
|
50 |
"source": [
|
51 |
-
"app = mr.App(title=\"Visualising sorting of numbers using recursion in merge sort\", description=\"using merge sort\")"
|
52 |
]
|
53 |
},
|
54 |
{
|
55 |
"cell_type": "code",
|
56 |
-
"execution_count":
|
57 |
"id": "afd50440-2a60-4e9e-a2dc-783a996ddef7",
|
58 |
"metadata": {},
|
59 |
-
"outputs": [
|
60 |
-
{
|
61 |
-
"data": {
|
62 |
-
"application/mercury+json": "{\n \"widget\": \"Text\",\n \"value\": \"5,2,19,3,6,10\",\n \"rows\": 1,\n \"label\": \"Enter numbers to sort separated by comma\",\n \"model_id\": \"99be3dd1d1b04fd9bd6eeeb3f45a0c25\",\n \"code_uid\": \"Text.0.40.15.1.w-0-rand5636fe72\",\n \"url_key\": \"w-0\",\n \"disabled\": false,\n \"hidden\": false\n}",
|
63 |
-
"application/vnd.jupyter.widget-view+json": {
|
64 |
-
"model_id": "99be3dd1d1b04fd9bd6eeeb3f45a0c25",
|
65 |
-
"version_major": 2,
|
66 |
-
"version_minor": 0
|
67 |
-
},
|
68 |
-
"text/plain": [
|
69 |
-
"mercury.Text"
|
70 |
-
]
|
71 |
-
},
|
72 |
-
"metadata": {},
|
73 |
-
"output_type": "display_data"
|
74 |
-
}
|
75 |
-
],
|
76 |
"source": [
|
77 |
"#texts = [mr.Text(label=f\"Enter numbers to sort separated by comma\", value=f\"5,2,19,3,6,10\", url_key=f\"w-{0}\")]\n",
|
78 |
"#texts = []\n",
|
|
|
29 |
},
|
30 |
{
|
31 |
"cell_type": "code",
|
32 |
+
"execution_count": 56,
|
33 |
"id": "207ffa0d-f9fa-4753-966d-40ee128dedea",
|
34 |
"metadata": {},
|
35 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
"source": [
|
37 |
+
"#app = mr.App(title=\"Visualising sorting of numbers using recursion in merge sort\", description=\"using merge sort\")"
|
38 |
]
|
39 |
},
|
40 |
{
|
41 |
"cell_type": "code",
|
42 |
+
"execution_count": 57,
|
43 |
"id": "afd50440-2a60-4e9e-a2dc-783a996ddef7",
|
44 |
"metadata": {},
|
45 |
+
"outputs": [],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
"source": [
|
47 |
"#texts = [mr.Text(label=f\"Enter numbers to sort separated by comma\", value=f\"5,2,19,3,6,10\", url_key=f\"w-{0}\")]\n",
|
48 |
"#texts = []\n",
|