Author: gnikesh


  • Heartache?

    Have you ever felt your heart ache?Not due to any physical ailment But because your memories makeYou feel like doing nothingHoping time freezes and earth stopsYou just lie in your bed wide-awake Someone is in your mind, memories so freshMovies, songs, and books reminding you of herNothing seems real and everything is so fakeYou miss…

  • What is life? This is a question that has been asked throughout history, and one that still stumps many people today. While there is no one correct answer, there are some things that we do know about life. Here are a few things to think about when it comes to life: Life is precious. This…

  • I enjoy reading and in 2021, I spent a lot of my free time reading various books. Here are the 5 books that I really loved reading and hope my list may be helpful for you to select a book for your next reading journey. 1. Educated by Tara Westover Educated is one of the…

  • I recently completed listening to an audio-book version of the book “The 5 AM Club” by Robin Sharma. This, I would say for me is more of an inspiring book than a self-help one. The narrative of this book was unlike other books in this category that I’ve read so far. This book tells the…

  • When a function is called, it gets it’s own stack to store the parameters, and it’s local variables. So, an implementation of recursive function that stores a local variable and waits for the values returned from another recursive call to the function and so on would require stack to store the results. Let’s see an…

  • First, let’s define what a maximum subsequence sum problem is. Suppose we have an array [5, -3, 4, -7, 8, 7, 4, -1] then we would want to find a contiguous sequence that has the maximum sum. In this case, subsequence [8, 7, 4] has the maximum sum i.e. 19. It’s worth noting that if…