One of the hardest concept asked in the entrance exams and interview of FAANG(Facebook , Amazon , Apple , Netflix and Google), explained in the easiest way. It also falls in the category of FANG obsessive topics because of its logical recursion replacement.