Day 10 in #100daysofcode challenge

Day 10 in #100daysofcode challenge

·

1 min read

7 march and day 10 in my 100 days of code challenge , celebrated holi after 4 years I guess ... mindboggling Holi celebration with mates . Came back and sat on the desk to complete today's task and here's the blog .

What did I learn today

1)Bubble Sort

Hoping on finishing sorting and searching before I jump to leet codes . Bubble sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order.

2)Selection Sort:

This sorting technique searches for the smallest element and then passes it to the front of the array, then the next smallest ....in multiple passes gives sorted array(ascending in this case))

3)Insertion sort:

The array is virtually split into a sorted and an unsorted part. Each element gets compared with other and get added in a sorted array.

thats it, We are done for the day I'll get back to next techniques tomorrow. Happy and tired all at once.

Thanks for reading the blog and Happy Holi again :-)