Skip to main content

Posts

Showing posts from October, 2020

Stacks

Stacks: One Stop CONCEPT: Stacks are linear data structures with a simple idea: just stack the elements! You can think of it as a pile of books stacked over each other(as a very trivial example). And you can only take books from the top, and if you want to take book at a any other position you would have to take the books up to that one out and then only you can reach that book(I know you can directly pull that off, but lets consider that is not an option).  Application Stacks are very powerful if used in a smart manner. Like think of it you can add to top in O(1) time, remove from top in O(1) and access to top in O(1). Moreover they are used with loops to solve quite difficult problems like bracket matching, post-fix to prefix and vice-versa. Real world applications are doing undo and redo (just think of it!),browsers for going to previous URLs, and much more.  There are just these four operations in stack: Push: Push an element to the top(Inserting element at top) Pop: Pop ...

Ultimate Roar

So, I was just looking at my blogs I wrote 2 months before, and specifically the college plans blog. That time, I thought it would be wise to analyze my goals and gear up that way but now I think that making a long term plan doesn't work for everything. It may be good for an organization, but for an individual, or should I say a very volatile individual like me, it just ends up like a mess. And now I have this one important life lesson today: Be in a hurry, always. Now this might sound a little controversial but I think life is short and we gotta hurry. I don't want any of my ideas not being implemented, or any sense of guilt and that's why I am really really afraid of being stagnant. So, I would list down some short goals which I think can level my technical skills, problem solving skills and communication skills. So, for technical skills, I would be learning some frameworks in web and complete the ideas I have(which are mostly startup ideas). The number one in list would...