DEV Community

Prasanna Venketesh
Prasanna Venketesh

Posted on

21st day of my CP journey

This is the 21st day of the Competitive programming journey. I am happy to have started this. Through this journey I have discovered many platforms and their workings. In this journey I had come accross working with Strings, Arrays and many more data structures. Today I have solved questions from Geeks for Geeks.

Concepts involved :-

1.Selection sort Algorithm - Arrays, loops, conditional statements.
2.Insertion sort Algorithm - Arrays, loops, conditional statements.

First question I did for today is "Selection sort". This question is a algorithm itself for sorting the array. I used GFG for this question and learnt about the algorithm by practicing it there.

Image description

Secondly I did a question called "Insertion sort".This also is a sorting algorithm itself. This algorithm is comparitively better than the previous one.

Image description

Top comments (0)