How search engine works ? Elastic search – (Part-2)

Hello! Welcome to the part-2 of "How search engine works" series. Previous part was all about the basic concepts that go behind a search engine at a low level. If you want to refer the previous part, feel free and read it here. This part will be focussed on how things work in elastic search … Continue reading How search engine works ? Elastic search – (Part-2)

Parallel Programming in Java – (Part-2)

Hello, welcome to the second part of "Parallel Programming in Java" series. If you have somehow missed the first part and want to read it now, then read it here. So Part-1 covered the very basic concept of task execution in parallel and how ForkJoin framework helps in writing parallel programs easily. We saw how … Continue reading Parallel Programming in Java – (Part-2)

Parallel Programming in Java (Part – 1)

Hello all, A huge welcome to my new article, which is about making optimal use of the super machines that are available to run our systems in the current world. It is really awesome that the computing and storage costs have gone down so much and we are able to achieve tons of things at … Continue reading Parallel Programming in Java (Part – 1)

Readable Code : Just like a fairy tale

Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. - Alan Kay Writing code is simple. Yes, you read it right. It is simple, but writing code as readable as … Continue reading Readable Code : Just like a fairy tale

Dynamic Programming

Dynamic Programming (Memoization) : As usual lets start with the general definition of dynamic programming. "In computer science DP is a method for solving a complex problem by breaking it down into a collection of simpler subproblems, solving each of those subproblems just once, and storing their solutions – ideally, using a memory-based data structure" The general … Continue reading Dynamic Programming