DEV Community

Karthika Movva
Karthika Movva

Posted on

In My Problem Solving Journey

Hey, I am so delighted to say that I was able to take the next step in my competitive programming journey. I started with no knowledge of linked lists and have now begun learning some of the tougher concepts. After covering the basics, I moved on to more complicated topics. I’ve learned about linked lists and tackled a few related questions over the past few days. Today, I focused on Dojo-related questions, as I need them for my upcoming dojo this week. I made a plan with that in mind. So, today I worked on three different questions that were from linked list and also from array. One was difficult which is based on linked list, while the other two were moderately challenging from array.

For the first question, I did insertion in linked list where we are required to add an element to the start of the list. First we will take the new element and assign it the head using dot next their we will be able to create a new list. Next question which i did was prefix sum of array where i need to the add the next index like [i+1] [i+2]… like that through out the array and print the new array. I felt it to be easy compare to the first one and i was improving every day and it felt good to see myself better than yesterday.

Last but not least, I did target sum where we will be given a sum and we have go through the array see at which we will get the provided sum by adding what are all the indexes we will print that indexes. That all for the day. Overall, the day was great and productive.

Top comments (0)