DataStructure and Algorithms