Data structures and algorithms - AlfredV.Aho,johnE,Hopcroft,JeffreyD.Ullman (South asia Pearson India Edu. Service Pvt. Ltd., 2013)