Category: Uncategorized
-
Day 23
It is day 23 today. I messed up a bit with the numbering because I accidentally forgot to publish the day 19 draft. So, today I did a problem called Largest Mountain and I almost solved it on my own. Almost! one interesting thing I got to learn today was that we don’t necessarily need…
-
Day 19
I finally reached one of the most important topics in modern programming, OOPS OOP is a really sought after thing and every interviewer will be impressed if a candidate shows strong understanding of object oriented programming concepts. I saw and implemented classes constructors encapsulation inheritance polymorphism using various examples and cases. I found OOP interesting,…
-
Day 22
Today I continued with the streak by moving on to the Triplets problem and seeing various approaches that could’ve been taken but weren’t, in favor of a more efficient one. Got stuck for a lot of time and I guess I could’ve done better. But, no problem, practice makes perfect!
-
Day 21
Wohoo 21 Days!!! So, yesterday I started the DSA course on udemy. I started with revisiting Vectors and basic functions in vectors. Then, I also saw vector of a vector, i.e., 2D vector. Then, saw the PairSum problem and FizzBuzz problem. It was pretty fun! Also, yesterday was even more fun because I submitted my…
-
Day 20
Yesterday, I finished linked-lists and their various operations, like insertion, deletion, etc. Also, I have purchased a course on DSA by Prateek Narang on Udemy to improve my existing knowledge and problem-solving, so I’ll continue with its curriculum henceforth.
-
Day 18
Yesterday, I did a few more problems on recursion and started with vectors (although I’m still facing a lot of issues understanding how to approach certain problems… but I’m sure I’ll get there soon enough with practice) => remove duplicates => shift all x to end of string => find all possible substrings of a…
-
Day 17
Today, I did a few more problems using recursion. > Check if array is sorted or not > Print Natural Numbers given N (ascending and descending) > Find occurrence of a Number in an Array (both, first as well as last) (Edit) > Reverse a string > Replacing all occurrences of ‘pi’ in a string…
-
Day 16
Today I did Recursion. Earlier, I used to always think of recursion as a very advanced and complex topic but now I can confidently say I have more clarity in it than before. I tried the standard Recursion problems of Factorial of N, Sum till N natural numbers and Fibonacci’s Nth number.
-
Day 13 and 14
I forgot to write in the blog post yesterday so I’ll just write about both the days together. So, I started with strings in cpp. Input, output and other basic stuff followed by various operations like uppercase, lowercase, find, length, etc. Then I tried a couple of challenges. Highest letter frequency in a sentence and…
-
Day 12 (cont.)
I started coding after quite a long time again due to college assignments and submissions. It was too hectic and the little time I got, I didn’t find any motivation for coding. So today I tried problems on 2D arrays and solidified my concepts by solving problems like searching in sorted Matrix etc. Then, I…