• Ensures that a class has just one instance.
  • Provides a global access point to that instance.

Singleton is a creational design pattern that makes sure that a class has only one instance while providing a global access point to it.

Real-World Analogy


Photo by Alex Meier on Unsplash

Binary search is a search algorithm where we divide the given set of elements from the middle and compare the element to be searched with the element in the middle. If the element is smaller than the middle, we repeat the process in the first half of the dataset otherwise in the second half until the element to be searched is equal to the middle element.


Binary search is a search algorithm where we divide the given set of elements from the middle and compare the element to be searched with the element in the middle. If the element is smaller than the middle, we repeat the process in the first half of the dataset otherwise in the second half until the element to be searched is equal to the middle element.

Algorithm



Public Provident Fund (PPF)



“Sometimes debugging is more art than debugging”.


What are Microservices?

Microservice architecture is an approach to developing a single application by building a suite of small, independent services which can be written in any framework and language, can have their own data store and communicates using a lightweight mechanism, like HTTP or RPC.

fig 1.1. Basic Microservice Architecture

Akshay Saxena

Founder @Fundbakery. The fun on the journey is more interesting than the excitement of arrival.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store