Posts

Showing posts from November, 2020
hello people  Day 2 wasnt that productive of  a day tbh, i struggled in waking up early, ended up waking at 9 took entire day to just solve 5 problems ended up seeing there solutions but its all good i guess , u dont always go up along the graph i guess the problems i looked upon yesterday were  1.splitting binary string into two diff strings containing 0 and 1 individually it was a rather easy question i overthought about this ngl 2. the second was edit distance it was an easy question we had to convert one string into another using insert remove replace we had to do so in the minimum of operations. I knew the recursive approach but to opitmise the solution we used the dynamic programming approach basically try out all the combs. 3. finding next greater number in the sets of digit it can be solved using stl s next_permutation also but the logic how ever is simple find the first decreasing element from the end ,store its index as j and then from j to n find the smallest n...
hello from the other side i guesss.., i m starting this blog in order to trace my progress in coding. I ve been coding for a time like since 11th but i didnt take it seriously, just studied that as a subject. In college though things changed right, i started taking coding more seriously, i just like to work on my career yk so i started coding last year in november, with java, it was a bit slow according to me, and i couldnt get the resources and there was just so much extra typing and i couldnt exactly figure out logics in that since i knew python 11th se i switched to python in march, it worked superb for me, i made some huge progress ngl (cleared google codejam qualifiers was a big deal to me ) , but then things went further south idk how ,  i switched to c++ in june. my confidence graph went downwards. i switched to android for some time, then switched back to this , but i think this is all going to a moo point hence i want to track down my progress through blogs and refresh my ...