Analytics Vidhya King and wine puzzle - http://www.analyticsvidhya.com/blog/2014/10/commonly-asked-interview-puzzles-part-ii/