Design and analysis of algorithms a contemporary perspective - Sen, Sandeep (Cambridge University Press, 2019)