Remember your past. Yes this is all about Dynamic Programming. Jonathan Paulson explains Dynamic Programming in his amazing Quora answer here.Writes down “1+1+1+1+1+1+1+1 =” on a sheet of paper. “What’s that equal to?”Counting “Eight!”Writes down another “1+” on the left. “What about that?””Nine!” ” How’d you know it was nine so fast?””You just added one more!” “So you didn’t need … More Dynamic Programming
You will never check-in your code without any version control tool. Be it GIT or SVN or anything. Then why would you make changes in your database without and versioning strategy. Would you? Liquibase is one of the database changes version control tool. It is an open source library for tracking, managing and applying database … More Hello Liquibase
Actuators are nothing but Spring Boot provided production-ready features to our application. Spring Boot includes a number of additional features to help you monitor and manage your application when you push it to production. You can choose to manage and monitor your application by using HTTP endpoints. Monitoring of application, gathering metrics, understanding traffic becomes … More Spring Boot Actuator
Apache Kafka and RabbitMQ are two popular open-source and commercially-supported pub/sub systems that have been around for almost a decade and have seen wide adoption. Given the popularity of these two systems and the fact that both are branded as pub/sub systems, two frequently asked questions in the relevant online forums are: how do they … More RabbitMQ or Apache Kafka?
So far in java we have seen interfaces and abstract classes, with a single abstract method, being used as function types. Their instances, known as function objects, represent functions or actions. Since JDK 1.1, the primary means of creating a function object was the anonymous class. Below is a code snippet to sort a list of strings in order … More Lambdas vs Anonymous Classes