December 17, 2016
Even after reading many articles on Banker's algorithm and Europe's deadlock several times, I couldn't get what Banker's algorithm and what is Deadlock and, and how it could have been solved. I realized I would have to go back to the basics of banking and figure out answers to these: How do banks work? How do […]
December 9, 2016
Toward the end of the 19th century, Russia-born Polish economist, Ladislaus Bortkiewicz came up with a strategy to predict the incidence of deaths among Prussian soldiers from horse kicks. And he did this how? He applied the Poisson distribution. It ended becoming a famous example by the way. Fast forward a bit... Poisson distribution can […]
November 16, 2016
  In 1970, John Horton Conway came up with an algorithm, often termed the “Doomsday Algorithm.” (Though it had no relation to December 21, 2012 — the predicted doomsday) to quickly calculate the day of a week without resorting to anything but a few calculations in your head. (It is easy to memorize, so don’t […]
November 15, 2016
Many young programmers scour the web trying to find answers to this question: How to study Algorithm and Data structure? Certainly, a good place to start... But I believe a more relevant question would be this: What are algorithms and data structures, and why should I study them? Let’s start with this motivating quote: “Every […]
October 20, 2016
  Over the last decade or so, there have been dozens of open source software applications that have revolutionized technology stacks across the world. From Linux to Mozilla, the developer community has given birth to tons of amazing concepts. And one such software that has an exponentially growing user base is Redis — an open source […]
October 6, 2016
Moving from point A to point B is the prime requirement for many games—whether it is a strategic tactic-based RPG (role-playing game) like Warcraft III or one that’s as simple as Snakes and Ladders. The source-to-destination navigation sometimes requires more intelligence from your character than you believe,it needs to find the path with ease. You […]
Webinar Date: October 13, 2016
HackerEarth is pleased to announce a webinar on Approximation Algorithms, to help you learn from the best programmers and domain experts from all over the world. The webinar will help you understand Approximation Algorithms. Approximation Algorithms are used when we don't have deterministic solutions of the problems. In other way, we can say, that solutions are […]
September 23, 2016
  Remember the scene from the Facebook movie,  The Social Network where Mark Zuckerberg, while creating “Facemash” (the earlier version of Facebook), tells Eduardo Saverin, "I need the algorithm you used to rank chess players” who then writes an equation on the glass panel?   That equation is called the Elo rating or Elo rating system, […]
September 12, 2016
This post focuses on the impact that medical algorithms have in the field of healthcare where you must be a 100% right at all times. There is no room for errors because even the trivial errors can create a major impact. However, even the smartest and best-trained professionals are prone to errors. Tragedies due to […]
September 2, 2016
  "For someone who doesn't watch many matches, Elihu Feustel makes a million dollars by winning bets simply by using algorithms" Algorithms have revolutionized our world as we know it. Today, a lot of things come to us a lot more easily than before. We have moved forward from the age of waiting to hear […]