Data Mining Algorithms used by Instagram and Facebook. So very recently, I had a discussion with a few friends about how…