Algorithms question

Nov 2018
4
0
US
Can someone tell me if i have done this right for table 1?
2.png
2.1.png
2.2.png