ProCodeCG – Private Coding Class – Online – Algorithm & Data Structure – Day #4 – 8 Oct 2020

Standard

Today we discussed about the homework: selection sort. We tested it with more numbers and modify it to sort descending

Screen Shot 2020-10-08 at 13.11.27

Screen Shot 2020-10-08 at 13.11.26

Screen Shot 2020-10-08 at 13.25.29

Screen Shot 2020-10-08 at 13.21.02

then we learned bubble sort πŸ™‚

Screen Shot 2020-10-08 at 13.32.34

Screen Shot 2020-10-08 at 13.33.40

test the code

Screen Shot 2020-10-08 at 13.45.17

and checked out merge sort

Screen Shot 2020-10-08 at 13.57.02

the next lesson is creating a code for counting power

Screen Shot 2020-10-08 at 14.13.41

and factorial πŸ™‚

Screen Shot 2020-10-08 at 14.15.38

Screen Shot 2020-10-08 at 14.18.03

Screen Shot 2020-10-08 at 14.18.36

Screen Shot 2020-10-08 at 14.30.01

Screen Shot 2020-10-08 at 14.24.55

Screen Shot 2020-10-08 at 14.35.27

Screen Shot 2020-10-08 at 14.36.09

Screen Shot 2020-10-08 at 14.41.29

Screen Shot 2020-10-08 at 14.46.42

Screen Shot 2020-10-08 at 14.51.11

Screen Shot 2020-10-08 at 14.52.18

Screen Shot 2020-10-08 at 14.56.19

and then learned about recursive function πŸ˜‰

Screen Shot 2020-10-08 at 15.02.31

Screen Shot 2020-10-08 at 15.04.07

Screen Shot 2020-10-08 at 15.06.14

Screen Shot 2020-10-08 at 15.07.34

we will learn about searching next week πŸ˜‰

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s