Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add index labels for seealgo List #31

Merged
merged 2 commits into from
May 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions outputFiles/appendListOutput1.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
digraph List {
rankdir=LR
0 [label=1 fillcolor="" style=""]
1 [label=2 fillcolor="" style=""]
2 [label=3 fillcolor="" style=""]
3 [label=4 fillcolor="" style=""]
0 [label="[0]

1" fillcolor="" style=""]
1 [label="[1]

2" fillcolor="" style=""]
2 [label="[2]

3" fillcolor="" style=""]
3 [label="[3]

4" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
20 changes: 15 additions & 5 deletions outputFiles/appendListOutput2.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
digraph List {
rankdir=LR
0 [label=1 fillcolor="" style=""]
1 [label=2 fillcolor="" style=""]
2 [label=3 fillcolor="" style=""]
3 [label=4 fillcolor="" style=""]
4 [label=5 fillcolor=green style=filled]
0 [label="[0]

1" fillcolor="" style=""]
1 [label="[1]

2" fillcolor="" style=""]
2 [label="[2]

3" fillcolor="" style=""]
3 [label="[3]

4" fillcolor="" style=""]
4 [label="[4]

5" fillcolor=green style=filled]
0 -> 1
1 -> 2
2 -> 3
Expand Down
16 changes: 12 additions & 4 deletions outputFiles/deleteListOutput1.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
digraph List {
rankdir=LR
0 [label=1 fillcolor="" style=""]
1 [label=2 fillcolor="" style=""]
2 [label=3 fillcolor="" style=""]
3 [label=3 fillcolor="" style=""]
0 [label="[0]

1" fillcolor="" style=""]
1 [label="[1]

2" fillcolor="" style=""]
2 [label="[2]

3" fillcolor="" style=""]
3 [label="[3]

3" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
12 changes: 9 additions & 3 deletions outputFiles/deleteListOutput2.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
digraph List {
rankdir=LR
0 [label=1 fillcolor="" style=""]
1 [label=2 fillcolor="" style=""]
2 [label=3 fillcolor="" style=""]
0 [label="[0]

1" fillcolor="" style=""]
1 [label="[1]

2" fillcolor="" style=""]
2 [label="[2]

3" fillcolor="" style=""]
0 -> 1
1 -> 2
}
Binary file modified outputFiles/eg_appendlist_after.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified outputFiles/eg_appendlist_before.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 21 additions & 7 deletions outputFiles/initListOutput.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
digraph List {
rankdir=LR
0 [label=2 fillcolor="" style=""]
1 [label=4 fillcolor="" style=""]
2 [label=6 fillcolor="" style=""]
3 [label=8 fillcolor="" style=""]
4 [label=10 fillcolor="" style=""]
5 [label=12 fillcolor="" style=""]
6 [label=14 fillcolor="" style=""]
0 [label="[0]

2" fillcolor="" style=""]
1 [label="[1]

4" fillcolor="" style=""]
2 [label="[2]

6" fillcolor="" style=""]
3 [label="[3]

8" fillcolor="" style=""]
4 [label="[4]

10" fillcolor="" style=""]
5 [label="[5]

12" fillcolor="" style=""]
6 [label="[6]

14" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
20 changes: 15 additions & 5 deletions outputFiles/insertListOutput1.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
digraph List {
rankdir=LR
0 [label=100 fillcolor="" style=""]
1 [label=200 fillcolor="" style=""]
2 [label=400 fillcolor="" style=""]
3 [label=500 fillcolor="" style=""]
4 [label=600 fillcolor="" style=""]
0 [label="[0]

100" fillcolor="" style=""]
1 [label="[1]

200" fillcolor="" style=""]
2 [label="[2]

400" fillcolor="" style=""]
3 [label="[3]

500" fillcolor="" style=""]
4 [label="[4]

600" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
24 changes: 18 additions & 6 deletions outputFiles/insertListOutput2.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
digraph List {
rankdir=LR
0 [label=100 fillcolor="" style=""]
1 [label=200 fillcolor="" style=""]
2 [label=300 fillcolor=green style=filled]
3 [label=400 fillcolor="" style=""]
4 [label=500 fillcolor="" style=""]
5 [label=600 fillcolor="" style=""]
0 [label="[0]

100" fillcolor="" style=""]
1 [label="[1]

200" fillcolor="" style=""]
2 [label="[2]

300" fillcolor=green style=filled]
3 [label="[3]

400" fillcolor="" style=""]
4 [label="[4]

500" fillcolor="" style=""]
5 [label="[5]

600" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
28 changes: 21 additions & 7 deletions outputFiles/mixListOutput1.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
digraph List {
rankdir=LR
0 [label=3 fillcolor="" style=""]
1 [label=53 fillcolor="" style=""]
2 [label=98 fillcolor="" style=""]
3 [label=2 fillcolor="" style=""]
4 [label=35 fillcolor="" style=""]
5 [label=46 fillcolor="" style=""]
6 [label=1 fillcolor="" style=""]
0 [label="[0]

3" fillcolor="" style=""]
1 [label="[1]

53" fillcolor="" style=""]
2 [label="[2]

98" fillcolor="" style=""]
3 [label="[3]

2" fillcolor="" style=""]
4 [label="[4]

35" fillcolor="" style=""]
5 [label="[5]

46" fillcolor="" style=""]
6 [label="[6]

1" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
24 changes: 18 additions & 6 deletions outputFiles/mixListOutput2.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
digraph List {
rankdir=LR
0 [label=3 fillcolor="" style=""]
1 [label=53 fillcolor="" style=""]
2 [label=98 fillcolor="" style=""]
3 [label=35 fillcolor="" style=""]
4 [label=46 fillcolor="" style=""]
5 [label=1 fillcolor="" style=""]
0 [label="[0]

3" fillcolor="" style=""]
1 [label="[1]

53" fillcolor="" style=""]
2 [label="[2]

98" fillcolor="" style=""]
3 [label="[3]

35" fillcolor="" style=""]
4 [label="[4]

46" fillcolor="" style=""]
5 [label="[5]

1" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
28 changes: 21 additions & 7 deletions outputFiles/mixListOutput3.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
digraph List {
rankdir=LR
0 [label=3 fillcolor="" style=""]
1 [label=53 fillcolor="" style=""]
2 [label=98 fillcolor="" style=""]
3 [label=35 fillcolor="" style=""]
4 [label=46 fillcolor="" style=""]
5 [label=1 fillcolor="" style=""]
6 [label=-10 fillcolor=green style=filled]
0 [label="[0]

3" fillcolor="" style=""]
1 [label="[1]

53" fillcolor="" style=""]
2 [label="[2]

98" fillcolor="" style=""]
3 [label="[3]

35" fillcolor="" style=""]
4 [label="[4]

46" fillcolor="" style=""]
5 [label="[5]

1" fillcolor="" style=""]
6 [label="[6]

-10" fillcolor=green style=filled]
0 -> 1
1 -> 2
2 -> 3
Expand Down
32 changes: 24 additions & 8 deletions outputFiles/mixListOutput4.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
digraph List {
rankdir=LR
0 [label=0 fillcolor=green style=filled]
1 [label=3 fillcolor="" style=""]
2 [label=53 fillcolor="" style=""]
3 [label=98 fillcolor="" style=""]
4 [label=35 fillcolor="" style=""]
5 [label=46 fillcolor="" style=""]
6 [label=1 fillcolor="" style=""]
7 [label=-10 fillcolor="" style=""]
0 [label="[0]

0" fillcolor=green style=filled]
1 [label="[1]

3" fillcolor="" style=""]
2 [label="[2]

53" fillcolor="" style=""]
3 [label="[3]

98" fillcolor="" style=""]
4 [label="[4]

35" fillcolor="" style=""]
5 [label="[5]

46" fillcolor="" style=""]
6 [label="[6]

1" fillcolor="" style=""]
7 [label="[7]

-10" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
32 changes: 24 additions & 8 deletions outputFiles/mixListOutput5.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
digraph List {
rankdir=LR
0 [label=0 fillcolor="" style=""]
1 [label=3 fillcolor="" style=""]
2 [label=53 fillcolor="" style=""]
3 [label=98 fillcolor="" style=""]
4 [label=1000 fillcolor=green style=filled]
5 [label=46 fillcolor="" style=""]
6 [label=1 fillcolor="" style=""]
7 [label=-10 fillcolor="" style=""]
0 [label="[0]

0" fillcolor="" style=""]
1 [label="[1]

3" fillcolor="" style=""]
2 [label="[2]

53" fillcolor="" style=""]
3 [label="[3]

98" fillcolor="" style=""]
4 [label="[4]

1000" fillcolor=green style=filled]
5 [label="[5]

46" fillcolor="" style=""]
6 [label="[6]

1" fillcolor="" style=""]
7 [label="[7]

-10" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
16 changes: 12 additions & 4 deletions outputFiles/setListOutput1.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
digraph List {
rankdir=LR
0 [label=2 fillcolor="" style=""]
1 [label=33 fillcolor="" style=""]
2 [label=333 fillcolor="" style=""]
3 [label=3333 fillcolor="" style=""]
0 [label="[0]

2" fillcolor="" style=""]
1 [label="[1]

33" fillcolor="" style=""]
2 [label="[2]

333" fillcolor="" style=""]
3 [label="[3]

3333" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
16 changes: 12 additions & 4 deletions outputFiles/setListOutput2.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
digraph List {
rankdir=LR
0 [label=3 fillcolor=green style=filled]
1 [label=33 fillcolor="" style=""]
2 [label=333 fillcolor="" style=""]
3 [label=3333 fillcolor="" style=""]
0 [label="[0]

3" fillcolor=green style=filled]
1 [label="[1]

33" fillcolor="" style=""]
2 [label="[2]

333" fillcolor="" style=""]
3 [label="[3]

3333" fillcolor="" style=""]
0 -> 1
1 -> 2
2 -> 3
Expand Down
Loading
Loading